Zebediah Figura : dxgi: Explicitly use Wine d3d12 and Vulkan headers.

Alexandre Julliard julliard at winehq.org
Fri Mar 4 15:53:07 CST 2022


Module: wine
Branch: master
Commit: 8859022a87ddb90a1d807405be86f004af3f4329
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8859022a87ddb90a1d807405be86f004af3f4329

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Thu Mar  3 19:50:09 2022 -0600

dxgi: Explicitly use Wine d3d12 and Vulkan headers.

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list