Free custom descriptor structs

Forgot this earlier
This commit is contained in:
Bill Currie 2020-02-12 18:55:22 +09:00
parent 85a2f9f621
commit 44f5b134e6

View file

@ -319,6 +319,7 @@ QFV_DestroyDescriptorPool (qfv_descriptorpool_t *pool)
qfv_devfuncs_t *dfunc = device->funcs;
dfunc->vkDestroyDescriptorPool (dev, pool->pool, 0);
free (pool);
}
void
@ -329,6 +330,7 @@ QFV_DestroyDescriptorSetLayout (qfv_descriptorsetlayout_t *layout)
qfv_devfuncs_t *dfunc = device->funcs;
dfunc->vkDestroyDescriptorSetLayout (dev, layout->layout, 0);
free (layout);
}
void
@ -339,4 +341,5 @@ QFV_DestroySampler (qfv_sampler_t *sampler)
qfv_devfuncs_t *dfunc = device->funcs;
dfunc->vkDestroySampler (dev, sampler->sampler, 0);
free (sampler);
}