godot/thirdparty/vulkan/patches/VMA-use-godot-vulkan.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
522 B
Diff
Raw Normal View History

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" {
2022-02-12 12:07:28 +01:00
#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.