From 9a208c4fb5a374eaf691b9ef83f918b209c82438 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 22 Mar 2020 19:34:26 -0300 Subject: [PATCH] Keep sRGB enabled for texture blits (#1009) --- Ryujinx.Graphics.OpenGL/TextureCopy.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Ryujinx.Graphics.OpenGL/TextureCopy.cs b/Ryujinx.Graphics.OpenGL/TextureCopy.cs index 55666426..27f1fd56 100644 --- a/Ryujinx.Graphics.OpenGL/TextureCopy.cs +++ b/Ryujinx.Graphics.OpenGL/TextureCopy.cs @@ -16,8 +16,6 @@ namespace Ryujinx.Graphics.OpenGL Extents2D dstRegion, bool linearFilter) { - GL.Disable(EnableCap.FramebufferSrgb); - int oldReadFramebufferHandle = GL.GetInteger(GetPName.ReadFramebufferBinding); int oldDrawFramebufferHandle = GL.GetInteger(GetPName.DrawFramebufferBinding); @@ -50,8 +48,6 @@ namespace Ryujinx.Graphics.OpenGL GL.BindFramebuffer(FramebufferTarget.ReadFramebuffer, oldReadFramebufferHandle); GL.BindFramebuffer(FramebufferTarget.DrawFramebuffer, oldDrawFramebufferHandle); - - GL.Enable(EnableCap.FramebufferSrgb); } private static void Attach(FramebufferTarget target, Format format, int handle)