diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-25 02:47:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 02:47:13 +0100 |
commit | 2899c93818bf7ce2ffec17c0f4870abc3c0fabb8 (patch) | |
tree | ec357bbb3db52f1c9f0427f95dc22169b56c4bdb /src | |
parent | Merge pull request #3094 from lioncash/tables (diff) | |
parent | gl_texture_cache: Apply sRGB on blits (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 1 |
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(); |