Skip to content

Commit

Permalink
Merge pull request #11323 from unknownbrackets/fb-safesize
Browse files Browse the repository at this point in the history
GPU: Download safe size on next create, too
  • Loading branch information
hrydgard committed Aug 25, 2018
2 parents bde3fe3 + 7fa20d4 commit 2aaa013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPU/Common/FramebufferCommon.cpp
Original file line number Diff line number Diff line change
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 2aaa013

Please sign in to comment.