Merge pull request #322 from vladislavbelov/fix-uninitialized-memory-budget-function

Fixes uninitialized vkGetPhysicalDeviceMemoryProperties2KHR
This commit is contained in:
Adam Sawicki 2023-02-21 11:19:26 +01:00 committed by GitHub
commit bdba911818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14257,7 +14257,7 @@ void VmaAllocator_T::ImportVulkanFunctions_Custom(const VmaVulkanFunctions* pVul
VMA_COPY_IF_NOT_NULL(vkBindImageMemory2KHR);
#endif
#if VMA_MEMORY_BUDGET
#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000
VMA_COPY_IF_NOT_NULL(vkGetPhysicalDeviceMemoryProperties2KHR);
#endif