Fixes leaks with Vulkan device and instance
This commit is contained in:
parent
6366332949
commit
2ab4b054e0
@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
|
||||
if (queue_props) {
|
||||
free(queue_props);
|
||||
}
|
||||
vkDestroyDevice(device, nullptr);
|
||||
vkDestroyInstance(inst, nullptr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user