mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
GS/HW: Don't preload target from other targets after hw clear
This commit is contained in:
1 parent
e0233daeb0
commit
28f984e87f
1 file changed
+1
-1
@@ -2504,7 +2504,7 @@ bool GSTextureCache::PreloadTarget(GIFRegTEX0 TEX0, const GSVector2i& size, cons
|
||||
continue;
|
||||
}
|
||||
|
||||
if (preserve_target || preload)
|
||||
if (!hw_clear && (preserve_target || preload))
|
||||
{
|
||||
const int copy_width = (t->m_texture->GetWidth()) > (dst->m_texture->GetWidth()) ? (dst->m_texture->GetWidth()) : t->m_texture->GetWidth();
|
||||
const int copy_height = overlapping_pages_height * t->m_scale;
|
||||
|
||||
Reference in new issue
Block a user