mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 21:06:58 -05:00
Merge pull request #3158 from ReinUsesLisp/srgb-blit
gl_texture_cache: Apply sRGB on blits
This commit is contained in:
commit
2899c93818
1 changed files with 1 additions and 0 deletions
|
@ -488,6 +488,7 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view,
|
||||||
OpenGLState state;
|
OpenGLState state;
|
||||||
state.draw.read_framebuffer = src_framebuffer.handle;
|
state.draw.read_framebuffer = src_framebuffer.handle;
|
||||||
state.draw.draw_framebuffer = dst_framebuffer.handle;
|
state.draw.draw_framebuffer = dst_framebuffer.handle;
|
||||||
|
state.framebuffer_srgb.enabled = dst_params.srgb_conversion;
|
||||||
state.AllDirty();
|
state.AllDirty();
|
||||||
state.Apply();
|
state.Apply();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue