mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
GPU: Dirty tex when clearing or rendering to self.
This way if we're blitting, we'll re-blit.
This commit is contained in:
1 parent
07e178a2da
commit
61fc1cdcfb
4 files changed
+12
No files matched your search
@@ -570,6 +570,9 @@ void DrawEngineVulkan::DoFlush() {
|
||||
textureCache_->SetTexture();
|
||||
gstate_c.Clean(DIRTY_TEXTURE_IMAGE | DIRTY_TEXTURE_PARAMS);
|
||||
textureNeedsApply = true;
|
||||
} else if (gstate.getTextureAddress(0) == ((gstate.getFrameBufRawAddress() | 0x04000000) & 0x3FFFFFFF)) {
|
||||
// This catches the case of clearing a texture.
|
||||
gstate_c.Dirty(DIRTY_TEXTURE_IMAGE);
|
||||
}
|
||||
|
||||
GEPrimitiveType prim = prevPrim_;
|
||||
|
||||
Reference in new issue
Block a user