mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-03 06:06:35 +00:00
Avoid unnecessary buffer flips even when buffered rendering is on. Speeds up buffered rendering in 30fps games.
This commit is contained in:
parent
a41cd7bdba
commit
b5d5291a58
@ -292,11 +292,9 @@ void GLES_GPU::SetDisplayFramebuffer(u32 framebuf, u32 stride, int format) {
|
||||
}
|
||||
|
||||
bool GLES_GPU::FramebufferDirty() {
|
||||
if (!g_Config.bBufferedRendering) {
|
||||
VirtualFramebuffer *vfb = framebufferManager_.GetDisplayFBO();
|
||||
if (vfb)
|
||||
return vfb->dirtyAfterDisplay;
|
||||
}
|
||||
VirtualFramebuffer *vfb = framebufferManager_.GetDisplayFBO();
|
||||
if (vfb)
|
||||
return vfb->dirtyAfterDisplay;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user