Permalink
Browse files

GPU: Try to avoid FB download without an FBO.

  • Loading branch information...
unknownbrackets committed Nov 30, 2017
1 parent e0ccbd3 commit 0b61ffad088ac929291ce26d93a2d0633e406ab1
Showing with 1 addition and 1 deletion.
  1. +1 −1 GPU/Common/FramebufferCommon.cpp
@@ -2043,7 +2043,7 @@ void FramebufferManagerCommon::ReadFramebufferToMemory(VirtualFramebuffer *vfb,
if (x + w >= vfb->bufferWidth) {
w = vfb->bufferWidth - x;
}
if (vfb) {
if (vfb && vfb->fbo) {
// We'll pseudo-blit framebuffers here to get a resized version of vfb.
OptimizeDownloadRange(vfb, x, y, w, h);
if (vfb->renderWidth == vfb->width && vfb->renderHeight == vfb->height) {

0 comments on commit 0b61ffa

Please sign in to comment.