From 6d04441cda4d1bc1ecff73b2b5e63cacaa187f7a Mon Sep 17 00:00:00 2001 From: Thog Date: Thu, 6 Feb 2020 16:12:44 +0100 Subject: [PATCH] Disable transparency in the window --- Ryujinx/Ui/GLRenderer.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Ryujinx/Ui/GLRenderer.cs b/Ryujinx/Ui/GLRenderer.cs index 91b1d30f85..563510ce9f 100644 --- a/Ryujinx/Ui/GLRenderer.cs +++ b/Ryujinx/Ui/GLRenderer.cs @@ -53,7 +53,7 @@ namespace Ryujinx.Ui private Input.NpadController _primaryController; public GLRenderer(Switch device) : - base (new GraphicsMode(), 3, 3, GraphicsContextFlags.ForwardCompatible) + base (new GraphicsMode(new ColorFormat(24)), 3, 3, GraphicsContextFlags.ForwardCompatible) { WaitEvent = new ManualResetEvent(false); @@ -249,8 +249,6 @@ namespace Ryujinx.Ui { _renderer.Initialize(); - GL.Disable(EnableCap.AlphaTest); - SwapBuffers(); } @@ -263,7 +261,6 @@ namespace Ryujinx.Ui using (ScopedGLContext scopedGLContext = new ScopedGLContext(WindowInfo, GraphicsContext)) { - _ticks += _chrono.ElapsedTicks; _chrono.Restart();