2021-08-12 13:24:54 +02:00
|
|
|
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
|
2021-09-22 12:40:17 +02:00
|
|
|
index 65d6243419..9890f20f7c 100644
|
2021-08-12 13:24:54 +02:00
|
|
|
--- a/thirdparty/vulkan/vk_mem_alloc.h
|
|
|
|
+++ b/thirdparty/vulkan/vk_mem_alloc.h
|
2021-09-22 12:40:17 +02:00
|
|
|
@@ -2063,7 +2063,11 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
|
|
|
|
#endif // #if defined(__ANDROID__) && VMA_STATIC_VULKAN_FUNCTIONS && VK_NO_PROTOTYPES
|
2021-08-12 13:24:54 +02:00
|
|
|
|
|
|
|
#ifndef VULKAN_H_
|
|
|
|
- #include <vulkan/vulkan.h>
|
|
|
|
+ #ifdef USE_VOLK
|
|
|
|
+ #include <volk.h>
|
|
|
|
+ #else
|
|
|
|
+ #include <vulkan/vulkan.h>
|
|
|
|
+ #endif
|
|
|
|
#endif
|
|
|
|
|
2021-09-22 12:40:17 +02:00
|
|
|
// Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
|