mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11: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
|
@ -137,7 +137,7 @@ public:
|
|||
for (int i = hwTex_Translated.Size()-1; i>= 0; i--)
|
||||
{
|
||||
auto& tt = hwTex_Translated[i];
|
||||
if (!tt.isMarkedForPreache())
|
||||
if (!tt.isMarkedForPreache())
|
||||
{
|
||||
hwTex_Translated.Delete(i);
|
||||
}
|
||||
|
@ -148,11 +148,11 @@ public:
|
|||
{
|
||||
for (auto& tt : hwDefTex)
|
||||
{
|
||||
if (!tt.isMarkedForPreache()) tt.MarkForPrecache(false);
|
||||
tt.MarkForPrecache(false);
|
||||
}
|
||||
for (auto& tt : hwTex_Translated)
|
||||
{
|
||||
if (!tt.isMarkedForPreache()) tt.MarkForPrecache(false);
|
||||
tt.MarkForPrecache(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue