From a1fd9eb149cbaf5f9814cda4641db8fe60b16850 Mon Sep 17 00:00:00 2001 From: raven02 Date: Wed, 11 Dec 2013 23:37:28 +0800 Subject: [PATCH] Render correct fog in 3rd birthday and transparency in Kurohyou 2 --- GPU/GLES/Framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/Framebuffer.cpp b/GPU/GLES/Framebuffer.cpp index eb0b071b13..fca5872f04 100644 --- a/GPU/GLES/Framebuffer.cpp +++ b/GPU/GLES/Framebuffer.cpp @@ -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_) {