1
0
Fork 0
godot/thirdparty/vulkan/patches/VMA-use-godot-vulkan.patch

16 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.