GS: Retry texture creation after initial retry fails.

This should've been done.
This commit is contained in:
lightningterror 2025-05-10 16:32:17 +02:00
parent 0992e784f1
commit 31dbea4e0b

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);