mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-26 20:35:30 +00:00
gl_rasterizer_cache: Remove assert for RecreateSurface type.
This commit is contained in:
parent
ebf5768340
commit
fde2017a3f
|
@ -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…
Reference in a new issue