Add missing length annotation to pBudgets parameter in vmaGetHeapBudgets

This commit is contained in:
Ellie Hermaszewska 2022-01-14 16:40:40 +08:00
parent c5870ad3c2
commit 15b16f88b9
No known key found for this signature in database
GPG Key ID: C8116E3A0C1CA76A

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.