Procházet zdrojové kódy

gl_rasterizer_cache: Fix an ASSERT_MSG.

bunnei před 8 roky
rodič
revize
cd8bb6ea9b

+ 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();