Skip to content
Permalink
Browse files

Merge pull request #11323 from unknownbrackets/fb-safesize

GPU: Download safe size on next create, too
  • Loading branch information...
hrydgard committed Aug 25, 2018
2 parents bde3fe3 + 7fa20d4 commit 2aaa0132965eeb079550442d500393ee6e9c9508
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 2aaa013

Please sign in to comment.
You can’t perform that action at this time.