summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-16 22:11:18 -0400
committerGravatar bunnei2018-08-17 00:10:08 -0400
commite341d868eebbd5606660e59c04fbfd9139088899 (patch)
tree9a17fd68a96b377c86b3a6b8a71c3d3f41215efd /src
parentMerge pull request #1019 from Subv/vertex_divisor (diff)
downloadyuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar.gz
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar.xz
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.zip
gl_rasterizer_cache: Remove asserts for supported blits.
Diffstat (limited to 'src')
-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,
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)};