OverviewFilesCommitsIssuesDocsReleasesPeers

nvidia-rtx-godot / thirdparty / vulkan / patches / 0002-VMA-godot-vulkan.patch

22 lines · patch ref:
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
index 8df03649b5..42ba704beb 100644
--- a/thirdparty/vulkan/vk_mem_alloc.h
+++ b/thirdparty/vulkan/vk_mem_alloc.h
@@ -123,15 +123,12 @@ for user-defined purpose without allocating any real GPU memory.
 See documentation chapter: \ref statistics.
 */
 
+#include <drivers/vulkan/godot_vulkan.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#if !defined(VULKAN_H_)
-#include <vulkan/vulkan.h>
-#endif
-
 #if !defined(VMA_VULKAN_VERSION)
     #if defined(VK_VERSION_1_4)
         #define VMA_VULKAN_VERSION 1004000