summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-24 22:13:24 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-11-24 22:13:33 +0100
commit74fff717aa46746d6093b761324107295049b5bd (patch)
treeadeb685e794b0e347a4c1c76cd6f93d8230f1fe8 /src/video_core/renderer_opengl
parentMerge pull request #3114 from FernandoS27/cond-var (diff)
downloadyuzu-74fff717aa46746d6093b761324107295049b5bd.tar
yuzu-74fff717aa46746d6093b761324107295049b5bd.tar.gz
yuzu-74fff717aa46746d6093b761324107295049b5bd.tar.bz2
yuzu-74fff717aa46746d6093b761324107295049b5bd.tar.lz
yuzu-74fff717aa46746d6093b761324107295049b5bd.tar.xz
yuzu-74fff717aa46746d6093b761324107295049b5bd.tar.zst
yuzu-74fff717aa46746d6093b761324107295049b5bd.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-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();