2021-08-12 11:24:54 +00:00
|
|
|
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
|
2024-05-16 08:05:16 +00:00
|
|
|
index 711f486571..e5eaa80e74 100644
|
2021-08-12 11:24:54 +00:00
|
|
|
--- a/thirdparty/vulkan/vk_mem_alloc.h
|
|
|
|
+++ b/thirdparty/vulkan/vk_mem_alloc.h
|
2024-05-16 08:05:16 +00:00
|
|
|
@@ -127,7 +127,11 @@ See documentation chapter: \ref statistics.
|
2023-09-01 09:11:12 +00:00
|
|
|
extern "C" {
|
2022-02-12 11:07:28 +00:00
|
|
|
#endif
|
2021-08-12 11:24:54 +00:00
|
|
|
|
2023-09-01 09:11:12 +00:00
|
|
|
-#include <vulkan/vulkan.h>
|
|
|
|
+#ifdef USE_VOLK
|
|
|
|
+ #include <volk.h>
|
|
|
|
+#else
|
|
|
|
+ #include <vulkan/vulkan.h>
|
|
|
|
+#endif
|
2021-08-12 11:24:54 +00:00
|
|
|
|
2023-09-01 09:11:12 +00:00
|
|
|
#if !defined(VMA_VULKAN_VERSION)
|
|
|
|
#if defined(VK_VERSION_1_3)
|