GPU: Try to avoid FB download without an FBO.
This commit is contained in:
parent
e0ccbd31b6
commit
0b61ffad08
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue