GS: Retry texture creation after initial retry fails.

This should've been done.
This commit is contained in:
lightningterror committed 2025-05-12 21:39:43 +02:00
1 parent 0992e784f1
commit 31dbea4e0b
1 file changed
+1
+1
View File
@@ -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);