aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-11-17 02:10:51 -0200
committerAc_K <Acoustik666@gmail.com>2018-11-17 05:10:51 +0100
commitb7613dd4b8a535d028ae180ee3a4b574abe4e3e0 (patch)
treeb6e92bd7509f48f3087c86acebb6cee95760fb46 /Ryujinx.Graphics/Gal
parentd2bb458b51bbcbc097f8f53ac2a3b8b15a723a45 (diff)
Enable SRGB framebuffers by default (#502)
Diffstat (limited to 'Ryujinx.Graphics/Gal')
-rw-r--r--Ryujinx.Graphics/Gal/OpenGL/OGLTexture.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLTexture.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLTexture.cs
index 6f843b9c..ef984b1e 100644
--- a/Ryujinx.Graphics/Gal/OpenGL/OGLTexture.cs
+++ b/Ryujinx.Graphics/Gal/OpenGL/OGLTexture.cs
@@ -106,7 +106,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
Image.Width,
Image.Height, 1);
- Image.Format = GalImageFormat.RGBA8 | GalImageFormat.Unorm;
+ Image.Format = GalImageFormat.RGBA8 | (Image.Format & GalImageFormat.TypeMask);
}
(PixelInternalFormat InternalFmt,