mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Fix graphical artifact in Jeanne d'Arc world map.
We need to use the last set render framebuffer, not the current one at copy to output.
This commit is contained in:
1 parent
efc2de41ae
commit
b9f805c71f
2 files changed
+5
-5
No files matched your search
@@ -1441,8 +1441,7 @@ void FramebufferManager::ReadFramebufferToMemory(VirtualFramebuffer *vfb, bool s
|
||||
}
|
||||
#endif
|
||||
|
||||
// Null out currentRenderVfb_ so it gets set again properly.
|
||||
currentRenderVfb_ = NULL;
|
||||
RebindFramebuffer();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1968,7 +1967,6 @@ void FramebufferManager::UpdateFromMemory(u32 addr, int size, bool safe) {
|
||||
if (MaskedEqual(vfb->fb_address, addr)) {
|
||||
FlushBeforeCopy();
|
||||
fbo_unbind();
|
||||
currentRenderVfb_ = 0;
|
||||
|
||||
vfb->dirtyAfterDisplay = true;
|
||||
vfb->reallyDirtyAfterDisplay = true;
|
||||
@@ -1993,8 +1991,10 @@ void FramebufferManager::UpdateFromMemory(u32 addr, int size, bool safe) {
|
||||
}
|
||||
}
|
||||
|
||||
if (needUnbind)
|
||||
if (needUnbind) {
|
||||
fbo_unbind();
|
||||
}
|
||||
RebindFramebuffer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user