Biswapriyo Nath : include: Set D3D_COMPILER_VERSION to 47, if not defined.
Alexandre Julliard
julliard at winehq.org
Tue Sep 29 15:20:39 CDT 2020
Module: wine
Branch: master
Commit: 23c6dd55b8c983ec88cada0a6d6c75ee9cd93976
URL: https://source.winehq.org/git/wine.git/?a=commit;h=23c6dd55b8c983ec88cada0a6d6c75ee9cd93976
Author: Biswapriyo Nath <nathbappai at gmail.com>
Date: Sun Sep 27 20:19:16 2020 +0530
include: Set D3D_COMPILER_VERSION to 47, if not defined.
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/d3d11shader.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/d3d11shader.h b/include/d3d11shader.h
index 501d01ee84..a744150814 100644
--- a/include/d3d11shader.h
+++ b/include/d3d11shader.h
@@ -21,6 +21,11 @@
#include "d3dcommon.h"
+/* If not defined set d3dcompiler_47 by default. */
+#ifndef D3D_COMPILER_VERSION
+#define D3D_COMPILER_VERSION 47
+#endif
+
/* These are defined as version-neutral in d3dcommon.h */
typedef D3D_CBUFFER_TYPE D3D11_CBUFFER_TYPE;
More information about the wine-cvs
mailing list