mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
vulkan: fix all memory leaks
Now now errors regarding resource management appear in the debug output / validation layers.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user