Explorar o código

gl_rasterizer_cache: Remove assert for RecreateSurface type.

bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
fde2017a3f
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/video_core/renderer_opengl/gl_rasterizer_cache.cpp

+ 0 - 1
src/video_core/renderer_opengl/gl_rasterizer_cache.cpp

@@ -799,7 +799,6 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& surface,
                                                const SurfaceParams& new_params) {
     // Verify surface is compatible for blitting
     const auto& params{surface->GetSurfaceParams()};
-    ASSERT(params.type == new_params.type);
 
     // Create a new surface with the new parameters, and blit the previous surface to it
     Surface new_surface{std::make_shared<CachedSurface>(new_params)};