diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-21 07:25:29 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | a6a350ddc3bf708276e27045e326f108f733f0b1 (patch) | |
tree | ae5cd75c5a8e03a76be5d1ed520d88effba3d7e6 /src/video_core | |
parent | gl_rasterizer: Don't disable blending on clears (diff) | |
download | yuzu-a6a350ddc3bf708276e27045e326f108f733f0b1.tar yuzu-a6a350ddc3bf708276e27045e326f108f733f0b1.tar.gz yuzu-a6a350ddc3bf708276e27045e326f108f733f0b1.tar.bz2 yuzu-a6a350ddc3bf708276e27045e326f108f733f0b1.tar.lz yuzu-a6a350ddc3bf708276e27045e326f108f733f0b1.tar.xz yuzu-a6a350ddc3bf708276e27045e326f108f733f0b1.tar.zst yuzu-a6a350ddc3bf708276e27045e326f108f733f0b1.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index 4b86018d5..2d3838a7a 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -518,9 +518,7 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view, UNIMPLEMENTED_IF(src_params.target == SurfaceTarget::Texture3D); UNIMPLEMENTED_IF(dst_params.target == SurfaceTarget::Texture3D); - // TODO: Signal state tracker about these changes state_tracker.NotifyScissor0(); - state_tracker.NotifyBlend0(); state_tracker.NotifyFramebuffer(); state_tracker.NotifyRasterizeEnable(); state_tracker.NotifyFramebufferSRGB(); @@ -530,11 +528,8 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view, } else { glDisable(GL_FRAMEBUFFER_SRGB); } - // TODO(Rodrigo): Find out if rasterizer discard affects blits - // TODO(Rodrigo): Find out if blending affects blits glDisable(GL_RASTERIZER_DISCARD); glDisablei(GL_SCISSOR_TEST, 0); - glDisablei(GL_BLEND, 0); glBindFramebuffer(GL_READ_FRAMEBUFFER, src_framebuffer.handle); glBindFramebuffer(GL_DRAW_FRAMEBUFFER, dst_framebuffer.handle); |