Commit 2ab4b054 by qarmin

Fixes leaks with Vulkan device and instance

parent 63663329
......@@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
if (queue_props) {
free(queue_props);
}
vkDestroyDevice(device, nullptr);
vkDestroyInstance(inst, nullptr);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment