diff options
| author | ladevieq <qladevie@wanadev.fr> | 2021-02-10 14:00:37 +0100 |
|---|---|---|
| committer | ladevieq <qladevie@wanadev.fr> | 2021-02-10 14:00:37 +0100 |
| commit | 5e39b7485d08345a4eb3686b344840791888d1f9 (patch) | |
| tree | 0d2a51845709a5ecd25fecedd60cc65b2999c61e /src/vk-api.cpp | |
| parent | 3a43bab624f271588401daca46c512a1f85593f6 (diff) | |
Accumulation working
Diffstat (limited to 'src/vk-api.cpp')
| -rw-r--r-- | src/vk-api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vk-api.cpp b/src/vk-api.cpp index 2ecd06f..92e9a80 100644 --- a/src/vk-api.cpp +++ b/src/vk-api.cpp @@ -123,7 +123,7 @@ Image vkapi::create_image(VkExtent3D size, VkFormat format, VkImageUsageFlags us return std::move(image); } void vkapi::destroy_image(Image &image) { - vkDestroyImage(context.device, image.handle, nullptr); + vmaDestroyImage(context.allocator, image.handle, image.alloc); vkDestroyImageView(context.device, image.view, nullptr); } |
