mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-15 03:34:13 +01:00
gl_rasterizer_cache: Remove assert for RecreateSurface type.
This commit is contained in:
1 parent
746d6392a1
commit
5199da26b7
1 file changed
-1
@@ -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)};
|
||||
|
||||
Reference in new issue
Block a user