gl_rasterizer_cache: Remove assert for RecreateSurface type.

master
bunnei 2018-08-21 01:05:27 +07:00
parent ebf5768340
commit fde2017a3f
1 changed files with 0 additions and 1 deletions

@ -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)};