Merge pull request #4796 from raven02/patch-3

Render correct fog in 3rd birthday and menu transparency in Kurohyou 2
This commit is contained in:
Henrik Rydgård 2013-12-12 00:29:02 -08:00
commit 1cf3b16b4f

View file

@ -1465,7 +1465,7 @@ void FramebufferManager::DecimateFBOs() {
VirtualFramebuffer *vfb = vfbs_[i];
int age = frameLastFramebufUsed - std::max(vfb->last_frame_render, vfb->last_frame_used);
if (updateVram && age == 0 && !vfb->memoryUpdated && vfb == displayFramebuf_)
if (updateVram && age == 0 && !vfb->memoryUpdated)
ReadFramebufferToMemory(vfb);
if (vfb == displayFramebuf_ || vfb == prevDisplayFramebuf_ || vfb == prevPrevDisplayFramebuf_) {