Merge pull request #1628 from greggameplayer/Texture2DArray

Implement SurfaceTarget Texture2DArray
This commit is contained in:
bunnei 2018-11-12 21:13:47 -08:00 committed by GitHub
commit 65bd03d74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1348,6 +1348,7 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& old_surface,
break; break;
case SurfaceTarget::TextureCubemap: case SurfaceTarget::TextureCubemap:
case SurfaceTarget::Texture3D: case SurfaceTarget::Texture3D:
case SurfaceTarget::Texture2DArray:
case SurfaceTarget::TextureCubeArray: case SurfaceTarget::TextureCubeArray:
AccurateCopySurface(old_surface, new_surface); AccurateCopySurface(old_surface, new_surface);
break; break;