mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 01:31:25 +00:00
Fix precache unload bug in FHardwareTextureContainer::UnmarkAll
This commit is contained in:
parent
c9612b0cab
commit
144caa0902
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue