Fix precache unload bug in FHardwareTextureContainer::UnmarkAll

This commit is contained in:
Magnus Norddahl 2024-02-19 12:25:05 +01:00 committed by Rachael Alexanderson
parent c9612b0cab
commit 144caa0902
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -148,11 +148,11 @@ public:
{ {
for (auto& tt : hwDefTex) for (auto& tt : hwDefTex)
{ {
if (!tt.isMarkedForPreache()) tt.MarkForPrecache(false); tt.MarkForPrecache(false);
} }
for (auto& tt : hwTex_Translated) for (auto& tt : hwTex_Translated)
{ {
if (!tt.isMarkedForPreache()) tt.MarkForPrecache(false); tt.MarkForPrecache(false);
} }
} }