Explorar o código

gl_rasterizer_cache: Fix an ASSERT_MSG.

bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
cd8bb6ea9b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();