From e341d868eebbd5606660e59c04fbfd9139088899 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 16 Aug 2018 22:11:18 -0400 Subject: gl_rasterizer_cache: Remove asserts for supported blits. --- src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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(new_params)}; -- cgit v1.2.3