mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
GS: improve haunting ground hw tc hack.
when clearing the render target, also discard all the dirty rectangles previously marked, to avoid spurious uploads later.
This commit is contained in:
committed by
refractionpcsx2
parent
f73d7b4cb9
commit
202fb5fef3
@@ -779,6 +779,7 @@ void GSTextureCache::InvalidateVideoMem(const GSOffset& off, const GSVector4i& r
|
||||
t->m_texture ? t->m_texture->GetID() : 0,
|
||||
t->m_TEX0.TBP0);
|
||||
g_gs_device->ClearRenderTarget(t->m_texture, 0);
|
||||
t->m_dirty.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user