소스 검색

Merge pull request #1096 from bunnei/supported-blits

gl_rasterizer_cache: Remove asserts for supported blits.
bunnei 8 년 전
부모
커밋
504cff2b7a
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/video_core/renderer_opengl/gl_rasterizer_cache.cpp

+ 0 - 2
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)};