Fix instance variable not set to null on close
This commit is contained in:
@@ -119,6 +119,7 @@ namespace OpenVulkano::Vulkan
|
||||
frameResources = {};
|
||||
memPool.Close();
|
||||
device = nullptr;
|
||||
INSTANCE = nullptr;
|
||||
}
|
||||
|
||||
vk::CommandBuffer& ResourceManager::GetCmdBuffer() { return frameResources[currentBuffer].cmdBuffer; }
|
||||
|
||||
Reference in New Issue
Block a user