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