Used VK_NO_PROTOTYPES when defining default value for VMA_STATIC_VULKAN_FUNCTIONS.

This commit is contained in:
Adam Sawicki 2018-02-08 12:55:29 +01:00
parent 4cefd614dc
commit 0186953b59

View File

@ -1644,7 +1644,7 @@ internally, like:
Define to 0 if you are going to provide you own pointers to Vulkan functions via Define to 0 if you are going to provide you own pointers to Vulkan functions via
VmaAllocatorCreateInfo::pVulkanFunctions. VmaAllocatorCreateInfo::pVulkanFunctions.
*/ */
#ifndef VMA_STATIC_VULKAN_FUNCTIONS #if !defined(VMA_STATIC_VULKAN_FUNCTIONS) && !defined(VK_NO_PROTOTYPES)
#define VMA_STATIC_VULKAN_FUNCTIONS 1 #define VMA_STATIC_VULKAN_FUNCTIONS 1
#endif #endif