Module: wine Branch: master Commit: 23c6dd55b8c983ec88cada0a6d6c75ee9cd93976 URL: https://source.winehq.org/git/wine.git/?a=commit;h=23c6dd55b8c983ec88cada0a6...
Author: Biswapriyo Nath nathbappai@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@gmail.com Signed-off-by: Matteo Bruni mbruni@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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;