aboutsummaryrefslogtreecommitdiff
path: root/GLScreen.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2018-02-09 01:43:22 +0100
committergdkchan <gab.dark.100@gmail.com>2018-02-08 21:43:22 -0300
commit9e8f02b66dabd70cfe6ec425f194119f1cb15542 (patch)
tree269b684b538491a645e626f93dcc988cfaf3b8d5 /GLScreen.cs
parentae91da5b60789e4e900823a6ec999ce0d748911e (diff)
Add internal Logging support (#3)
* Add internal Logging support Add class Logging. Replace all Console.WriteLine() to looks better. Add informations inside Windows Titles. * Revert "Add internal Logging support" This reverts commit 275d363aaf30011f238010572cfdb320bd7b627f. * Add internal Logging support Add Logging Class. Replace all Console.WriteLine() to looks better. Add debug informations of IpcMessage. Add informations inside Windows Titles. * Add internal Logging support2 Add Logging Class. Replace all Console.WriteLine() to looks better. Add debug informations of IpcMessage. Add informations inside Windows Titles.
Diffstat (limited to 'GLScreen.cs')
-rw-r--r--GLScreen.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/GLScreen.cs b/GLScreen.cs
index 3e16f7f1..98281693 100644
--- a/GLScreen.cs
+++ b/GLScreen.cs
@@ -351,7 +351,9 @@ void main(void) {
protected override void OnRenderFrame(FrameEventArgs e)
{
GL.Viewport(0, 0, 1280, 720);
-
+
+ Title = $"Ryujinx Screen - (Vsync: {VSync} - FPS: {1f / e.Time:0})";
+
GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
RenderFb();