diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-13 16:39:45 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:38:34 +0200 |
commit | 3dd76432141a5cbc97bed15788984b37e44aa4a5 (patch) | |
tree | 47d1c0e5dddb4d448026a5ec62480017d4510e28 /src/video_core/renderer_opengl | |
parent | texture_cache: Remove old rasterizer cache (diff) | |
download | yuzu-3dd76432141a5cbc97bed15788984b37e44aa4a5.tar yuzu-3dd76432141a5cbc97bed15788984b37e44aa4a5.tar.gz yuzu-3dd76432141a5cbc97bed15788984b37e44aa4a5.tar.bz2 yuzu-3dd76432141a5cbc97bed15788984b37e44aa4a5.tar.lz yuzu-3dd76432141a5cbc97bed15788984b37e44aa4a5.tar.xz yuzu-3dd76432141a5cbc97bed15788984b37e44aa4a5.tar.zst yuzu-3dd76432141a5cbc97bed15788984b37e44aa4a5.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index 7c1d14138..d30d04cd5 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -522,7 +522,7 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view, glBlitFramebuffer(src_rect.left, src_rect.top, src_rect.right, src_rect.bottom, dst_rect.left, dst_rect.top, dst_rect.right, dst_rect.bottom, buffers, - is_linear ? GL_LINEAR : GL_NEAREST); + is_linear && (buffers == GL_COLOR_BUFFER_BIT) ? GL_LINEAR : GL_NEAREST); } void TextureCacheOpenGL::BufferCopy(Surface& src_surface, Surface& dst_surface) { |