summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)};