include: Set D3D_COMPILER_VERSION to 47, if not defined

System Internals / WINE - Biswapriyo Nath [gmail.com] - 29 September 2020 20:09 UTC



###

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;

23c6dd55b8 include: Set D3D_COMPILER_VERSION to 47, if not defined.
include/d3d11shader.h | 5 +++++
1 file changed, 5 insertions(+)

Upstream: source.winehq.org


  • Share