mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-30 20:07:51 +00:00
gl_rasterizer_cache: Remove asserts for supported blits.
This commit is contained in:
parent
727136a9c9
commit
e341d868ee
1 changed files with 0 additions and 2 deletions
|
@ -790,8 +790,6 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& surface,
|
|||
// Verify surface is compatible for blitting
|
||||
const auto& params{surface->GetSurfaceParams()};
|
||||
ASSERT(params.type == new_params.type);
|
||||
ASSERT(params.pixel_format == new_params.pixel_format);
|
||||
ASSERT(params.component_type == new_params.component_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)};
|
||||
|
|
Loading…
Reference in a new issue