Make vk_allocator a singleton

This commit is contained in:
Patrick Nicolas committed 2024-02-07 18:25:54 +01:00
1 parent 595d27f8dc
commit df394ec079
15 files changed
+163 -96

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ decoder::decoder(
.requiredFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
};
decoded_images[i].image = image_allocation(image_info, alloc_info);
decoded_images[i].image = image_allocation(device, image_info, alloc_info);
decoded_images[i].image.map();