diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 07:51:50 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:34:43 +0100 |
commit | 1bc0da3dea5a8502e63f5c123151328ccb2ba8d6 (patch) | |
tree | 5a43fa241e32175df8be44fcb797609e5f75df0c /src/video_core/renderer_opengl/gl_texture_cache.cpp | |
parent | gl_state: Remove stencil test tracking (diff) | |
download | yuzu-1bc0da3dea5a8502e63f5c123151328ccb2ba8d6.tar yuzu-1bc0da3dea5a8502e63f5c123151328ccb2ba8d6.tar.gz yuzu-1bc0da3dea5a8502e63f5c123151328ccb2ba8d6.tar.bz2 yuzu-1bc0da3dea5a8502e63f5c123151328ccb2ba8d6.tar.lz yuzu-1bc0da3dea5a8502e63f5c123151328ccb2ba8d6.tar.xz yuzu-1bc0da3dea5a8502e63f5c123151328ccb2ba8d6.tar.zst yuzu-1bc0da3dea5a8502e63f5c123151328ccb2ba8d6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 3 |
1 files changed, 3 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 85d41f826..f7a1ca3a9 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -537,8 +537,11 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view, glDisable(GL_FRAMEBUFFER_SRGB); } // TODO(Rodrigo): Find out if rasterizer discard affects blits + // TODO(Rodrigo): Find out if blending affects blits + // TODO(Rodrigo): Find out if clip control affects blits glDisable(GL_RASTERIZER_DISCARD); glDisablei(GL_SCISSOR_TEST, 0); + glDisablei(GL_BLEND, 0); glClipControl(GL_LOWER_LEFT, GL_ZERO_TO_ONE); u32 buffers{}; |