summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-21 01:05:27 -0400
committerGravatar bunnei2018-08-23 11:27:00 -0400
commitfde2017a3f626c3c4620d19dc1113bb277a99db0 (patch)
tree2d8435b802b7968b40d8eea47305a395d7b35920
parentgl_rasterizer_cache: Implement compressed texture copies. (diff)
downloadyuzu-fde2017a3f626c3c4620d19dc1113bb277a99db0.tar.gz
yuzu-fde2017a3f626c3c4620d19dc1113bb277a99db0.tar.xz
yuzu-fde2017a3f626c3c4620d19dc1113bb277a99db0.zip
gl_rasterizer_cache: Remove assert for RecreateSurface type.
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index dc582b2df..a13c1d97d 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -799,7 +799,6 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& surface,
799 const SurfaceParams& new_params) { 799 const SurfaceParams& new_params) {
800 // Verify surface is compatible for blitting 800 // Verify surface is compatible for blitting
801 const auto& params{surface->GetSurfaceParams()}; 801 const auto& params{surface->GetSurfaceParams()};
802 ASSERT(params.type == new_params.type);
803 802
804 // Create a new surface with the new parameters, and blit the previous surface to it 803 // Create a new surface with the new parameters, and blit the previous surface to it
805 Surface new_surface{std::make_shared<CachedSurface>(new_params)}; 804 Surface new_surface{std::make_shared<CachedSurface>(new_params)};