GPU: Dirty texparams when cropping a self-copy.

If we used UV to limit the blit, we may need to do the blit again next
time, so re-examine texture params.
This commit is contained in:
Unknown W. Brackets 2021-02-28 08:19:06 -08:00
parent 5d4d8ab418
commit 7c7b1dafa0

View file

@ -901,6 +901,9 @@ void FramebufferManagerCommon::CopyFramebufferForColorTexture(VirtualFramebuffer
x += gstate_c.curTextureXOffset;
y += gstate_c.curTextureYOffset;
}
// We'll have to reapply these next time since we cropped to UV.
gstate_c.Dirty(DIRTY_TEXTURE_PARAMS);
}
if (x < src->drawnWidth && y < src->drawnHeight && w > 0 && h > 0) {