mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
CreateRAMFramebuffer: Don't create a depth buffer by default
This commit is contained in:
parent
6b902a7d6b
commit
27a03de826
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user