=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: include: Allow using libvkd3d with custom Vulkan headers.
Alexandre Julliard
julliard at winehq.org
Tue Jan 16 13:18:59 CST 2018
Module: vkd3d
Branch: master
Commit: 1fbacd5a09dd16dd1a0eb999d3e5bd8c7d99c9d3
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=1fbacd5a09dd16dd1a0eb999d3e5bd8c7d99c9d3
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Tue Jan 16 14:02:23 2018 +0100
include: Allow using libvkd3d with custom Vulkan headers.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/vkd3d.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/vkd3d.h b/include/vkd3d.h
index 320282b..a70bd2d 100644
--- a/include/vkd3d.h
+++ b/include/vkd3d.h
@@ -24,7 +24,10 @@
# include "vkd3d_d3d12.h"
#endif /* VKD3D_NO_WIN32_TYPES */
-#include <vulkan/vulkan.h>
+#ifndef VKD3D_NO_VULKAN_H
+# include <vulkan/vulkan.h>
+#endif /* VKD3D_NO_VULKAN_H */
+
#include <stdbool.h>
#ifdef __cplusplus
More information about the wine-cvs
mailing list