mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
GPU: Download safe size on next create, too.
In some cases, games will create a series of framebufs. Before, we weren't downloading them if they were only used once, as intended.
This commit is contained in:
1 parent
17de6ad2d8
commit
7fa20d4734
1 file changed
+2
@@ -542,6 +542,8 @@ void FramebufferManagerCommon::NotifyRenderFramebufferCreated(VirtualFramebuffer
|
||||
if (!useBufferedRendering_) {
|
||||
// Let's ignore rendering to targets that have not (yet) been displayed.
|
||||
gstate_c.skipDrawReason |= SKIPDRAW_NON_DISPLAYED_FB;
|
||||
} else if (currentRenderVfb_) {
|
||||
DownloadFramebufferOnSwitch(currentRenderVfb_);
|
||||
}
|
||||
|
||||
textureCache_->NotifyFramebuffer(vfb->fb_address, vfb, NOTIFY_FB_CREATED);
|
||||
|
||||
Reference in new issue
Block a user