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