mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- Unload all bound camera textures when FCanvasTextureInfo::EmptyList() is called.
SVN r3397 (trunk)
This commit is contained in:
parent
fcb0840246
commit
0fc6d9a0c6
1 changed files with 1 additions and 0 deletions
|
@ -1032,6 +1032,7 @@ void FCanvasTextureInfo::EmptyList ()
|
||||||
for (probe = List; probe != NULL; probe = next)
|
for (probe = List; probe != NULL; probe = next)
|
||||||
{
|
{
|
||||||
next = probe->Next;
|
next = probe->Next;
|
||||||
|
probe->Texture->Unload();
|
||||||
delete probe;
|
delete probe;
|
||||||
}
|
}
|
||||||
List = NULL;
|
List = NULL;
|
||||||
|
|
Loading…
Reference in a new issue