CreateRAMFramebuffer: Don't create a depth buffer by default

This commit is contained in:
Henrik Rydgård 2023-02-13 23:28:37 +01:00
parent 6b902a7d6b
commit 27a03de826

View File

@ -2079,7 +2079,7 @@ VirtualFramebuffer *FramebufferManagerCommon::CreateRAMFramebuffer(uint32_t fbAd
char name[64];
snprintf(name, sizeof(name), "%08x_color_RAM", vfb->fb_address);
textureCache_->NotifyFramebuffer(vfb, NOTIFY_FB_CREATED);
vfb->fbo = draw_->CreateFramebuffer({ vfb->renderWidth, vfb->renderHeight, 1, GetFramebufferLayers(), 0, true, name });
vfb->fbo = draw_->CreateFramebuffer({ vfb->renderWidth, vfb->renderHeight, 1, GetFramebufferLayers(), 0, false, name });
vfbs_.push_back(vfb);
u32 byteSize = vfb->BufferByteSize(RASTER_COLOR);