2
0
Fork 0
mirror of https://github.com/yuzu-mirror/yuzu synced 2024-12-14 19:32:27 +00:00

gl_rasterizer_cache: Fix an ASSERT_MSG.

This commit is contained in:
bunnei 2018-03-24 21:24:34 -04:00
parent 4369af6b7e
commit cd8bb6ea9b

View file

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