diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index ac1701a..188e888 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -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.