GS-HW: Update validity when resizing a texture during the draw.

This commit is contained in:
refractionpcsx2 2022-11-27 02:51:02 +00:00
parent 92bec955a8
commit 0a8f5e97e4
1 changed files with 2 additions and 0 deletions

View File

@ -1763,11 +1763,13 @@ void GSRendererHW::Draw()
{
pxAssert(rt->m_texture->GetScale() == up_s);
rt->ResizeTexture(new_w, new_h, up_s);
rt->UpdateValidity(m_r);
}
if (ds)
{
pxAssert(ds->m_texture->GetScale() == up_s);
ds->ResizeTexture(new_w, new_h, up_s);
ds->UpdateValidity(m_r);
}
}