mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix typo in ResizeTexture which was causing a crash
This commit is contained in:
parent
0825ca736f
commit
fed7629632
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue