mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Also fixes Vulkan build problem with recent Clang.
(cherry picked from commit 146ba4106f)
15 lines
522 B
Diff
15 lines
522 B
Diff
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
|
|
index 1add7278b0..1e03339ecf 100644
|
|
--- a/thirdparty/vulkan/vk_mem_alloc.h
|
|
+++ b/thirdparty/vulkan/vk_mem_alloc.h
|
|
@@ -126,9 +126,7 @@ See documentation chapter: \ref statistics.
|
|
extern "C" {
|
|
#endif
|
|
|
|
-#ifndef VULKAN_H_
|
|
- #include <vulkan/vulkan.h>
|
|
-#endif
|
|
+#include "drivers/vulkan/godot_vulkan.h"
|
|
|
|
// Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
|
|
// where AAA = major, BBB = minor, CCC = patch.
|