diff options
author | greggameplayer <33609333+greggameplayer@users.noreply.github.com> | 2018-11-02 14:28:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 14:28:28 +0100 |
commit | 9249fadb9e2703eaaedd023496126078b4e6c690 (patch) | |
tree | fbd8b26361c18db254db9788acfb58eaa00e0f83 /src/video_core | |
parent | Merge branch 'master' into Texture2DArray (diff) | |
download | yuzu-9249fadb9e2703eaaedd023496126078b4e6c690.tar yuzu-9249fadb9e2703eaaedd023496126078b4e6c690.tar.gz yuzu-9249fadb9e2703eaaedd023496126078b4e6c690.tar.bz2 yuzu-9249fadb9e2703eaaedd023496126078b4e6c690.tar.lz yuzu-9249fadb9e2703eaaedd023496126078b4e6c690.tar.xz yuzu-9249fadb9e2703eaaedd023496126078b4e6c690.tar.zst yuzu-9249fadb9e2703eaaedd023496126078b4e6c690.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index 0582b069c..57f501177 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -1304,10 +1304,9 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& old_surface, CopySurface(old_surface, new_surface, copy_pbo.handle); } break; - - case SurfaceParams::SurfaceTarget::TextureCubemap: - case SurfaceParams::SurfaceTarget::Texture3D: - case SurfaceParams::SurfaceTarget::Texture2DArray: + case SurfaceTarget::TextureCubemap: + case SurfaceTarget::Texture3D: + case SurfaceTarget::Texture2DArray: AccurateCopySurface(old_surface, new_surface); break; default: |