From fed762963272710e62ad42240add9807e74f68b9 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 6 Apr 2023 14:18:20 +0100 Subject: [PATCH] GS: Fix typo in ResizeTexture which was causing a crash --- pcsx2/GS/Renderers/Common/GSDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/Common/GSDevice.cpp b/pcsx2/GS/Renderers/Common/GSDevice.cpp index c0a5be0477..0c31e8c066 100644 --- a/pcsx2/GS/Renderers/Common/GSDevice.cpp +++ b/pcsx2/GS/Renderers/Common/GSDevice.cpp @@ -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); }