mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[vulkan] Free shadow map resource block
I forgot I had to free the memory too. Oops.
This commit is contained in:
parent
169c282187
commit
1f27622309
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ clear_shadows (vulkan_ctx_t *ctx)
|
||||||
}
|
}
|
||||||
if (lctx->shadow_resources) {
|
if (lctx->shadow_resources) {
|
||||||
QFV_DestroyResource (device, lctx->shadow_resources);
|
QFV_DestroyResource (device, lctx->shadow_resources);
|
||||||
|
free (lctx->shadow_resources);
|
||||||
lctx->shadow_resources = 0;
|
lctx->shadow_resources = 0;
|
||||||
}
|
}
|
||||||
lctx->light_images.size = 0;
|
lctx->light_images.size = 0;
|
||||||
|
|
Loading…
Reference in a new issue