mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 3 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue