diff options
| author | 2018-08-17 22:41:53 -0400 | |
|---|---|---|
| committer | 2018-08-17 22:41:53 -0400 | |
| commit | 504cff2b7a0469e0b7946c5326ec8b060fc4790e (patch) | |
| tree | 3277ac09db94bcbd2abc0e5cbd6b97c3f8698007 /src | |
| parent | Merge pull request #1097 from bunnei/gl-critical (diff) | |
| parent | gl_rasterizer_cache: Remove asserts for supported blits. (diff) | |
| download | yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar.gz yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar.xz yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.zip | |
Merge pull request #1096 from bunnei/supported-blits
gl_rasterizer_cache: Remove asserts for supported blits.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index ac4db82cf..38aa067b6 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | |||
| @@ -790,8 +790,6 @@ Surface RasterizerCacheOpenGL::RecreateSurface(const Surface& surface, | |||
| 790 | // Verify surface is compatible for blitting | 790 | // Verify surface is compatible for blitting |
| 791 | const auto& params{surface->GetSurfaceParams()}; | 791 | const auto& params{surface->GetSurfaceParams()}; |
| 792 | ASSERT(params.type == new_params.type); | 792 | ASSERT(params.type == new_params.type); |
| 793 | ASSERT(params.pixel_format == new_params.pixel_format); | ||
| 794 | ASSERT(params.component_type == new_params.component_type); | ||
| 795 | 793 | ||
| 796 | // Create a new surface with the new parameters, and blit the previous surface to it | 794 | // Create a new surface with the new parameters, and blit the previous surface to it |
| 797 | Surface new_surface{std::make_shared<CachedSurface>(new_params)}; | 795 | Surface new_surface{std::make_shared<CachedSurface>(new_params)}; |