Просмотр исходного кода

gl_rasterizer_cache: Fix an ASSERT_MSG.

bunnei 8 лет назад
Родитель
Сommit
cd8bb6ea9b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video_core/renderer_opengl/gl_rasterizer_cache.cpp

+ 1 - 1
src/video_core/renderer_opengl/gl_rasterizer_cache.cpp

@@ -1098,7 +1098,7 @@ SurfaceSurfaceRect_Tuple RasterizerCacheOpenGL::GetFramebufferSurfaces(
     color_params.pixel_format = SurfaceParams::PixelFormatFromRenderTargetFormat(config.format);
     color_params.pixel_format = SurfaceParams::PixelFormatFromRenderTargetFormat(config.format);
     color_params.UpdateParams();
     color_params.UpdateParams();
 
 
-    ASSERT(!using_depth_fb, "depth buffer is unimplemented");
+    ASSERT_MSG(!using_depth_fb, "depth buffer is unimplemented");
     // depth_params.addr = config.GetDepthBufferPhysicalAddress();
     // depth_params.addr = config.GetDepthBufferPhysicalAddress();
     // depth_params.pixel_format = SurfaceParams::PixelFormatFromDepthFormat(config.depth_format);
     // depth_params.pixel_format = SurfaceParams::PixelFormatFromDepthFormat(config.depth_format);
     // depth_params.UpdateParams();
     // depth_params.UpdateParams();