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:
Unknown W. Brackets 2013-04-12 07:09:45 -07:00
parent c4a6224506
commit e7f0bf71bf

View file

@ -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;