Fixes leaks with Vulkan device and instance

This commit is contained in:
qarmin 2020-04-14 20:15:48 +02:00
parent 6366332949
commit 2ab4b054e0

View file

@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
if (queue_props) {
free(queue_props);
}
vkDestroyDevice(device, nullptr);
vkDestroyInstance(inst, nullptr);
}