GS: Prefer one-frame-old textures

This commit is contained in:
tellowkrinkle 2022-01-24 01:14:34 -06:00
parent 6361cd8268
commit 5444b575f3
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ GSTexture* GSDevice::FetchSurface(GSTexture::Type type, int width, int height, i
if (t->GetType() == type && t->GetFormat() == format && t->GetSize() == size && t->GetMipmapLevels() == levels) if (t->GetType() == type && t->GetFormat() == format && t->GetSize() == size && t->GetMipmapLevels() == levels)
{ {
if (!prefer_new_texture) if (!prefer_new_texture || t->last_frame_used != m_frame)
{ {
m_pool.erase(i); m_pool.erase(i);
break; break;