Browse Source

gl_rasterizer_cache: Remove assert for RecreateSurface type.

nce_cpp
bunnei 7 years ago
parent
commit
5199da26b7
  1. 1
      src/video_core/renderer_opengl/gl_rasterizer_cache.cpp

1
src/video_core/renderer_opengl/gl_rasterizer_cache.cpp

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

Loading…
Cancel
Save