summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-18 04:41:53 +0200
committerGitHub <noreply@github.com>2018-08-18 04:41:53 +0200
commit504cff2b7a0469e0b7946c5326ec8b060fc4790e (patch)
tree3277ac09db94bcbd2abc0e5cbd6b97c3f8698007
parentMerge pull request #1097 from bunnei/gl-critical (diff)
parentgl_rasterizer_cache: Remove asserts for supported blits. (diff)
downloadyuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar
yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar.gz
yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar.bz2
yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar.lz
yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar.xz
yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.tar.zst
yuzu-504cff2b7a0469e0b7946c5326ec8b060fc4790e.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
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,
// 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)};