summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-25 02:47:13 +0100
committerGitHub <noreply@github.com>2019-11-25 02:47:13 +0100
commit2899c93818bf7ce2ffec17c0f4870abc3c0fabb8 (patch)
treeec357bbb3db52f1c9f0427f95dc22169b56c4bdb
parentMerge pull request #3094 from lioncash/tables (diff)
parentgl_texture_cache: Apply sRGB on blits (diff)
downloadyuzu-2899c93818bf7ce2ffec17c0f4870abc3c0fabb8.tar
yuzu-2899c93818bf7ce2ffec17c0f4870abc3c0fabb8.tar.gz
yuzu-2899c93818bf7ce2ffec17c0f4870abc3c0fabb8.tar.bz2
yuzu-2899c93818bf7ce2ffec17c0f4870abc3c0fabb8.tar.lz
yuzu-2899c93818bf7ce2ffec17c0f4870abc3c0fabb8.tar.xz
yuzu-2899c93818bf7ce2ffec17c0f4870abc3c0fabb8.tar.zst
yuzu-2899c93818bf7ce2ffec17c0f4870abc3c0fabb8.zip
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index 4659e098f..b790b0ef4 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -488,6 +488,7 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view,
OpenGLState state;
state.draw.read_framebuffer = src_framebuffer.handle;
state.draw.draw_framebuffer = dst_framebuffer.handle;
+ state.framebuffer_srgb.enabled = dst_params.srgb_conversion;
state.AllDirty();
state.Apply();