Skip to content

Commit

Permalink
GPU: Download safe size on next create, too.
Browse files Browse the repository at this point in the history
In some cases, games will create a series of framebufs.  Before, we
weren't downloading them if they were only used once, as intended.
  • Loading branch information
unknownbrackets committed Aug 25, 2018
1 parent 17de6ad commit 7fa20d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPU/Common/FramebufferCommon.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 7fa20d4

Please sign in to comment.