mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Don't preload target from other targets after hw clear
This commit is contained in:
parent
e0233daeb0
commit
28f984e87f
|
@ -2504,7 +2504,7 @@ bool GSTextureCache::PreloadTarget(GIFRegTEX0 TEX0, const GSVector2i& size, cons
|
||||||
continue;
|
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_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;
|
const int copy_height = overlapping_pages_height * t->m_scale;
|
||||||
|
|
Loading…
Reference in New Issue