mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[model] Ensure all models are unloaded
Cleans up not only vulkan (had to remove the clearing from vulkan to avoid a segfault).
This commit is contained in:
parent
e19e7cad0c
commit
d14162eed9
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ static void Mod_CallbackLoad (void *object, cache_allocator_t allocator);
|
|||
static void
|
||||
mod_shutdown (void *data)
|
||||
{
|
||||
Mod_ClearAll ();
|
||||
for (size_t i = 0; i < mod_blocks.size; i++) {
|
||||
free (mod_blocks.a[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue