Browse Source
Merge pull request #1096 from bunnei/supported-blits
gl_rasterizer_cache: Remove asserts for supported blits.
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
|
|
|
@ -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)}; |
|
|
|
|