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