GS: Fix typo in ResizeTexture which was causing a crash

This commit is contained in:
refractionpcsx2 2023-04-06 14:18:20 +01:00
parent 0825ca736f
commit fed7629632
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ bool GSDevice::ResizeTexture(GSTexture** t, GSTexture::Type type, int w, int h,
// TODO: We probably want to make this optional if we're overwriting it...
const GSVector4 sRect(0, 0, 1, 1);
const GSVector4 dRect(0, 0, t2->GetWidth(), t2->GetHeight());
StretchRect(m_current, sRect, new_t, dRect, ShaderConvert::COPY, true);
StretchRect(t2, sRect, new_t, dRect, ShaderConvert::COPY, true);
Recycle(t2);
}