Permalink
Browse files

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.
  • Loading branch information...
unknownbrackets committed Aug 25, 2018
1 parent 17de6ad commit 7fa20d47341deb723b9a2ac7c3a5d60fefbb3106
Showing with 2 additions and 0 deletions.
  1. +2 −0 GPU/Common/FramebufferCommon.cpp
@@ -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);

0 comments on commit 7fa20d4

Please sign in to comment.