2021-08-12 11:24:54 +00:00
|
|
|
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
|
2022-03-29 09:28:09 +00:00
|
|
|
index 44affc5ca4..d96f2dacc0 100644
|
2021-08-12 11:24:54 +00:00
|
|
|
--- a/thirdparty/vulkan/vk_mem_alloc.h
|
|
|
|
+++ b/thirdparty/vulkan/vk_mem_alloc.h
|
2022-02-12 11:07:28 +00:00
|
|
|
@@ -127,7 +127,11 @@ extern "C" {
|
|
|
|
#endif
|
2021-08-12 11:24:54 +00:00
|
|
|
|
|
|
|
#ifndef VULKAN_H_
|
|
|
|
- #include <vulkan/vulkan.h>
|
|
|
|
+ #ifdef USE_VOLK
|
|
|
|
+ #include <volk.h>
|
|
|
|
+ #else
|
|
|
|
+ #include <vulkan/vulkan.h>
|
|
|
|
+ #endif
|
|
|
|
#endif
|
|
|
|
|
2021-09-22 10:40:17 +00:00
|
|
|
// Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
|