[vulkan] Free shadow map resource block

I forgot I had to free the memory too. Oops.
This commit is contained in:
Bill Currie 2022-10-27 11:23:49 +09:00
parent 169c282187
commit 1f27622309

View file

@ -473,6 +473,7 @@ clear_shadows (vulkan_ctx_t *ctx)
}
if (lctx->shadow_resources) {
QFV_DestroyResource (device, lctx->shadow_resources);
free (lctx->shadow_resources);
lctx->shadow_resources = 0;
}
lctx->light_images.size = 0;