Răsfoiți Sursa

gl_rasterizer_cache: Fix an ASSERT_MSG.

bunnei 8 ani în urmă
părinte
comite
cd8bb6ea9b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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.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.pixel_format = SurfaceParams::PixelFormatFromDepthFormat(config.depth_format);
     // depth_params.UpdateParams();