mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-07 01:42:04 +00:00
[vulkan] Free the alias model resource block
I forgot to do so when switching to using resource (plugs a leak).
This commit is contained in:
parent
f5ebc1083f
commit
dfcad353fb
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ vulkan_alias_clear (model_t *m, void *data)
|
|||
}
|
||||
mesh = (qfv_alias_mesh_t *) ((byte *) hdr + hdr->commands);
|
||||
QFV_DestroyResource (device, mesh->resources);
|
||||
free (mesh->resources);
|
||||
|
||||
__auto_type skins = (maliasskindesc_t *) ((byte *) hdr + hdr->skindesc);
|
||||
for (int i = 0; i < hdr->mdl.numskins; i++) {
|
||||
|
|
Loading…
Reference in a new issue