Skip to content
Snippets Groups Projects
Verified Commit 467d3e37 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Updated VMA to use newest official hpp version

parent 6a6433bb
No related branches found
No related tags found
No related merge requests found
Subproject commit c6c3c665b6a29ae546bdec60606a3ef0757ea108 Subproject commit da6ea76eecf12a1decc76f58a3e096bcc555bd94
...@@ -341,25 +341,16 @@ namespace vkcv ...@@ -341,25 +341,16 @@ namespace vkcv
vma::AllocatorCreateFlags vmaFlags; vma::AllocatorCreateFlags vmaFlags;
const vma::AllocatorCreateInfo allocatorCreateInfo ( const vma::AllocatorCreateInfo allocatorCreateInfo (
vma::AllocatorCreateFlags(), vmaFlags,
physicalDevice, physicalDevice,
device, device,
0, 0,
nullptr, nullptr,
nullptr, nullptr,
0,
nullptr,
nullptr, nullptr,
nullptr, nullptr,
instance, instance,
VK_HEADER_VERSION_COMPLETE
/* 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
); );
vma::Allocator allocator = vma::createAllocator(allocatorCreateInfo); vma::Allocator allocator = vma::createAllocator(allocatorCreateInfo);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment