[PATCH 3/4] dxgi: Explicitly use Wine d3d12 and Vulkan headers.
Zebediah Figura
zfigura at codeweavers.com
Thu Mar 3 19:50:09 CST 2022
Avoid depending on our modified copy of vkd3d.h to include Wine headers; this
will not work with system vkd3d.h.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
dlls/dxgi/swapchain.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/dxgi/swapchain.c b/dlls/dxgi/swapchain.c
index aaf4fe101de..98b020217e4 100644
--- a/dlls/dxgi/swapchain.c
+++ b/dlls/dxgi/swapchain.c
@@ -18,6 +18,10 @@
*/
#include "dxgi_private.h"
+
+#define VKD3D_NO_VULKAN_H
+#define VKD3D_NO_WIN32_TYPES
+#include "wine/vulkan.h"
#include <vkd3d.h>
WINE_DEFAULT_DEBUG_CHANNEL(dxgi);
--
2.35.1
More information about the wine-devel
mailing list