diff --git a/lib/VulkanMemoryAllocator-Hpp b/lib/VulkanMemoryAllocator-Hpp index c6c3c665b6a29ae546bdec60606a3ef0757ea108..da6ea76eecf12a1decc76f58a3e096bcc555bd94 160000 --- a/lib/VulkanMemoryAllocator-Hpp +++ b/lib/VulkanMemoryAllocator-Hpp @@ -1 +1 @@ -Subproject commit c6c3c665b6a29ae546bdec60606a3ef0757ea108 +Subproject commit da6ea76eecf12a1decc76f58a3e096bcc555bd94 diff --git a/src/vkcv/Context.cpp b/src/vkcv/Context.cpp index f7cd67eb756f353d9eb98c4768e2b0d74bbc1ab6..8988e479f0f57693c49ab3dbfc40f056a4cc4d8c 100644 --- a/src/vkcv/Context.cpp +++ b/src/vkcv/Context.cpp @@ -341,25 +341,16 @@ namespace vkcv vma::AllocatorCreateFlags vmaFlags; const vma::AllocatorCreateInfo allocatorCreateInfo ( - vma::AllocatorCreateFlags(), + vmaFlags, physicalDevice, device, 0, nullptr, nullptr, - 0, - nullptr, nullptr, nullptr, instance, - - /* Uses default version when set to 0 (currently VK_VERSION_1_0): - * - * The reason for this is that the allocator restricts the allowed version - * to be at maximum VK_VERSION_1_1 which is already less than - * VK_HEADER_VERSION_COMPLETE at most platforms. - * */ - 0 + VK_HEADER_VERSION_COMPLETE ); vma::Allocator allocator = vma::createAllocator(allocatorCreateInfo);