Make vk_allocator a singleton

This commit is contained in:
Patrick Nicolas
2024-02-07 18:25:54 +01:00
parent 595d27f8dc
commit df394ec079
15 changed files with 163 additions and 96 deletions
+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();