mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
Make vk_allocator a singleton
This commit is contained in:
1 parent
595d27f8dc
commit
df394ec079
15 files changed
+163
-96
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user