Module: wine Branch: master Commit: cdcbc9581e06e2b82c4c50661093ee6df0befac8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=cdcbc9581e06e2b82c4c50661...
Author: Matteo Bruni mbruni@codeweavers.com Date: Tue Nov 12 19:47:24 2019 +0100
include: Define D3D_COMPILER_VERSION if it's not already defined.
Signed-off-by: Matteo Bruni mbruni@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/d3dcompiler.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/d3dcompiler.h b/include/d3dcompiler.h index 5151f94510..bd1b3d1d44 100644 --- a/include/d3dcompiler.h +++ b/include/d3dcompiler.h @@ -34,6 +34,10 @@ static const WCHAR D3DCOMPILER_DLL_W[] = {'d','3','d','c','o','m','p','i','l','e #define D3DCOMPILER_DLL_A "d3dcompiler_47.dll" #define D3DCOMPILER_DLL WINELIB_NAME_AW(D3DCOMPILER_DLL_)
+#ifndef D3D_COMPILER_VERSION +#define D3D_COMPILER_VERSION 47 +#endif + #define D3DCOMPILE_DEBUG 0x00000001 #define D3DCOMPILE_SKIP_VALIDATION 0x00000002 #define D3DCOMPILE_SKIP_OPTIMIZATION 0x00000004