mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 13:49:54 +00:00
Also fixes Vulkan build problem with recent Clang.
(cherry picked from commit 146ba4106f)
15 lines
468 B
Diff
15 lines
468 B
Diff
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
|
|
index 6819219b00..0cde2e2172 100644
|
|
--- a/thirdparty/vulkan/vk_mem_alloc.h
|
|
+++ b/thirdparty/vulkan/vk_mem_alloc.h
|
|
@@ -121,9 +121,7 @@ for user-defined purpose without allocating any real GPU memory.
|
|
See documentation chapter: \ref statistics.
|
|
*/
|
|
|
|
-#ifndef VULKAN_H_
|
|
- #include <vulkan/vulkan.h>
|
|
-#endif
|
|
+#include "drivers/vulkan/godot_vulkan.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|