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