mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-28 06:15:39 +00:00
Merge pull request #1096 from bunnei/supported-blits
gl_rasterizer_cache: Remove asserts for supported blits.
This commit is contained in:
commit
504cff2b7a
|
@ -790,8 +790,6 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& surface,
|
||||||
// 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);
|
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
|
// 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…
Reference in a new issue