From 00706815b5f1f0c900f9b8d77dccf8b8b781e7b8 Mon Sep 17 00:00:00 2001 From: Andy Adshead Date: Fri, 1 Feb 2019 01:15:15 +0000 Subject: [PATCH] Comment to explain scissor disable will be reenabled if needed --- Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs index e7800d128b..0d7bb3cd0a 100644 --- a/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs +++ b/Ryujinx.Graphics/Gal/OpenGL/OGLRenderTarget.cs @@ -366,6 +366,8 @@ namespace Ryujinx.Graphics.Gal.OpenGL GL.Clear(ClearBufferMask.ColorBufferBit); GL.Disable(EnableCap.FramebufferSrgb); + + // Will be re-enabled if needed while binding, called before any game GL calls GL.Disable(EnableCap.ScissorTest); GL.BlitFramebuffer(