mirror of https://github.com/PCSX2/pcsx2.git
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:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue