mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 08:50:55 +00:00
- fixed crash on shutdown.
This commit is contained in:
parent
dab7c43f7c
commit
9f357248e5
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ void FTexture::DeleteHardwareTextures()
|
||||||
decltype(HardwareTextures)::Pair *pair;
|
decltype(HardwareTextures)::Pair *pair;
|
||||||
while (it.NextPair(pair))
|
while (it.NextPair(pair))
|
||||||
{
|
{
|
||||||
delete pair;
|
delete pair->Value;
|
||||||
}
|
}
|
||||||
HardwareTextures.Clear();
|
HardwareTextures.Clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue