mirror of https://github.com/PCSX2/pcsx2.git
GS-HW: Update validity when resizing a texture during the draw.
This commit is contained in:
parent
92bec955a8
commit
0a8f5e97e4
|
@ -1763,11 +1763,13 @@ void GSRendererHW::Draw()
|
||||||
{
|
{
|
||||||
pxAssert(rt->m_texture->GetScale() == up_s);
|
pxAssert(rt->m_texture->GetScale() == up_s);
|
||||||
rt->ResizeTexture(new_w, new_h, up_s);
|
rt->ResizeTexture(new_w, new_h, up_s);
|
||||||
|
rt->UpdateValidity(m_r);
|
||||||
}
|
}
|
||||||
if (ds)
|
if (ds)
|
||||||
{
|
{
|
||||||
pxAssert(ds->m_texture->GetScale() == up_s);
|
pxAssert(ds->m_texture->GetScale() == up_s);
|
||||||
ds->ResizeTexture(new_w, new_h, up_s);
|
ds->ResizeTexture(new_w, new_h, up_s);
|
||||||
|
ds->UpdateValidity(m_r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue