Need to "dirty" framebuffers when updating them from memory. Should fix #2828 .

This commit is contained in:
Henrik Rydgard
2013-07-18 20:01:22 +02:00
parent 98524f3fe2
commit 444a39f32b
+1
View File
@@ -1227,6 +1227,7 @@ void FramebufferManager::UpdateFromMemory(u32 addr, int size) {
for (size_t i = 0; i < vfbs_.size(); ++i) {
VirtualFramebuffer *vfb = vfbs_[i];
if (MaskedEqual(vfb->fb_address, addr)) {
vfb->dirtyAfterDisplay = true;
// TODO: This without the fbo_unbind() above would be better than destroying the FBO.
// However, it doesn't seem to work for Star Ocean, at least
if (g_Config.bBufferedRendering) {