2021-08-12 13:24:54 +02:00
|
|
|
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
|
2023-09-01 11:11:12 +02:00
|
|
|
index fa4298b23c..a29bf6dfb6 100644
|
2021-08-12 13:24:54 +02:00
|
|
|
--- a/thirdparty/vulkan/vk_mem_alloc.h
|
|
|
|
+++ b/thirdparty/vulkan/vk_mem_alloc.h
|
2023-09-01 11:11:12 +02:00
|
|
|
@@ -126,7 +126,11 @@ See documentation chapter: \ref statistics.
|
|
|
|
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)
|