From 31dbea4e0b0ba9cd731d7e161c85ba1b50ff2c4b Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Sat, 10 May 2025 16:32:17 +0200 Subject: [PATCH] GS: Retry texture creation after initial retry fails. This should've been done. --- pcsx2/GS/Renderers/Common/GSDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/GS/Renderers/Common/GSDevice.cpp b/pcsx2/GS/Renderers/Common/GSDevice.cpp index f717e9ca10..4f494a27a7 100644 --- a/pcsx2/GS/Renderers/Common/GSDevice.cpp +++ b/pcsx2/GS/Renderers/Common/GSDevice.cpp @@ -493,6 +493,7 @@ GSTexture* GSDevice::FetchSurface(GSTexture::Type type, int width, int height, i { ERROR_LOG("GS: Memory allocation failure for {}x{} texture. Purging pool and retrying.", size.x, size.y); PurgePool(); + t = CreateSurface(type, size.x, size.y, levels, format); if (!t) { ERROR_LOG("GS: Memory allocation failure for {}x{} texture after purging pool.", size.x, size.y);