mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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:
parent
5d4d8ab418
commit
7c7b1dafa0
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue