Fix issue with freeing resources
This commit is contained in:
@@ -50,6 +50,8 @@ namespace OpenVulkano::Vulkan
|
||||
//TODO
|
||||
|
||||
if (enableValidationLayer) Debug::CloseValidationLayers(instance);
|
||||
|
||||
instance.destroy();
|
||||
initialized = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user