Fix release of Vulkan resources
This commit is contained in:
@@ -46,7 +46,7 @@ namespace openVulkanoCpp
|
||||
vk::CommandPool* cmdPools = nullptr;
|
||||
vk::CommandBuffer* cmdBuffers = nullptr;
|
||||
vk::Semaphore* semaphores = nullptr;
|
||||
std::vector<MemoryAllocation*> allocations;
|
||||
std::vector<std::unique_ptr<MemoryAllocation>> allocations;
|
||||
std::vector<std::unique_ptr<VulkanShader>> shaders;
|
||||
MemoryAllocation* lastAllocation = nullptr;
|
||||
std::mutex mutex;
|
||||
|
||||
Reference in New Issue
Block a user