aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/TextureCopy.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-03-22 19:34:26 -0300
committerGitHub <noreply@github.com>2020-03-23 09:34:26 +1100
commit9a208c4fb5a374eaf691b9ef83f918b209c82438 (patch)
treed6b941c3d4ccf12dab716bcc8c85c90aa16f1486 /Ryujinx.Graphics.OpenGL/TextureCopy.cs
parent49d7b1c7d82e37f1bde1c4776926f8c1c149727d (diff)
Keep sRGB enabled for texture blits (#1009)
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/TextureCopy.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/TextureCopy.cs4
1 files changed, 0 insertions, 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)