Merge pull request #220 from expipiplus1/master

Add missing length annotation to pBudgets parameter in vmaGetHeapBudgets
This commit is contained in:
Adam Sawicki 2022-01-14 10:11:46 +01:00 committed by GitHub
commit 4f24cf28c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1453,7 +1453,7 @@ become outdated.
*/
VMA_CALL_PRE void VMA_CALL_POST vmaGetHeapBudgets(
VmaAllocator VMA_NOT_NULL allocator,
VmaBudget* VMA_NOT_NULL pBudgets);
VmaBudget* VMA_NOT_NULL VMA_LEN_IF_NOT_NULL("VkPhysicalDeviceMemoryProperties::memoryHeapCount") pBudgets);
/**
\brief Helps to find memoryTypeIndex, given memoryTypeBits and VmaAllocationCreateInfo.