mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't go decimate happy on FBOs if a game reuses.
Some games, e.g. games that render at < 60fps, reuse FBOs. This was making all three pointers the same, making us more likely to decimate things when we ought not to.
This commit is contained in:
parent
c4a6224506
commit
e7f0bf71bf
1 changed files with 6 additions and 2 deletions
|
@ -481,8 +481,12 @@ void FramebufferManager::CopyDisplayToOutput() {
|
|||
vfb->usageFlags |= FB_USAGE_DISPLAYED_FRAMEBUFFER;
|
||||
vfb->dirtyAfterDisplay = false;
|
||||
|
||||
prevPrevDisplayFramebuf_ = prevDisplayFramebuf_;
|
||||
prevDisplayFramebuf_ = displayFramebuf_;
|
||||
if (prevDisplayFramebuf_ != displayFramebuf_) {
|
||||
prevPrevDisplayFramebuf_ = prevDisplayFramebuf_;
|
||||
}
|
||||
if (displayFramebuf_ != vfb) {
|
||||
prevDisplayFramebuf_ = displayFramebuf_;
|
||||
}
|
||||
displayFramebuf_ = vfb;
|
||||
|
||||
currentRenderVfb_ = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue