summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-17 04:11:18 +0200
committerbunnei <bunneidev@gmail.com>2018-08-17 06:10:08 +0200
commite341d868eebbd5606660e59c04fbfd9139088899 (patch)
tree9a17fd68a96b377c86b3a6b8a71c3d3f41215efd
parentMerge pull request #1019 from Subv/vertex_divisor (diff)
downloadyuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar.gz
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar.bz2
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar.lz
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar.xz
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.tar.zst
yuzu-e341d868eebbd5606660e59c04fbfd9139088899.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)};