From 9ae972ab4e8279c2b471deb4e2fafb8e3f24a572 Mon Sep 17 00:00:00 2001 From: greggameplayer Date: Wed, 31 Oct 2018 04:29:15 +0100 Subject: Implement SurfaceTarget Texture2DArray ( needed by Mario+Rabbids Kingdom Battle ) --- src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video_core') diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index 1d43a419d..513d82e39 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -1364,6 +1364,7 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& old_surface, break; case SurfaceParams::SurfaceTarget::TextureCubemap: case SurfaceParams::SurfaceTarget::Texture3D: + case SurfaceParams::SurfaceTarget::Texture2DArray: AccurateCopySurface(old_surface, new_surface); break; default: -- cgit v1.2.3