vulkan: fix all memory leaks

Now now errors regarding resource management appear in the debug output / validation layers.
This commit is contained in:
niki
2022-07-11 13:58:35 +02:00
parent c5327bfc4f
commit 9d04ec0030
7 changed files with 42 additions and 13 deletions
+1
View File
@@ -30,6 +30,7 @@ namespace love {
private:
// todo use a staging buffer for improved performance
VkBuffer buffer = VK_NULL_HANDLE;
love::graphics::Graphics* gfx;
VmaAllocator allocator;
VmaAllocation allocation;
VmaAllocationInfo allocInfo;