Module: wine Branch: master Commit: 9f06f24f0a61a9d7a3f376f39cd507e5e5552566 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f06f24f0a61a9d7a3f376f39c...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Aug 19 15:09:20 2014 +0200
d3d10_1.idl: Added _D3D10_1_CONSTANTS guard.
---
include/d3d10_1.idl | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/d3d10_1.idl b/include/d3d10_1.idl index d0e02d4..ba5517b 100644 --- a/include/d3d10_1.idl +++ b/include/d3d10_1.idl @@ -19,6 +19,8 @@ import "oaidl.idl"; import "ocidl.idl";
+cpp_quote("#ifndef _D3D10_1_CONSTANTS") +cpp_quote("#define _D3D10_1_CONSTANTS") const UINT D3D10_1_DEFAULT_SAMPLE_MASK = 0xffffffff; const UINT D3D10_1_GS_INPUT_REGISTER_COUNT = 32; const UINT D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32; @@ -38,6 +40,7 @@ const UINT D3D10_1_STANDARD_VERTEX_ELEMENT_COUNT = 32; const UINT D3D10_1_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8; const UINT D3D10_1_VS_INPUT_REGISTER_COUNT = 32; const UINT D3D10_1_VS_OUTPUT_REGISTER_COUNT = 32; +cpp_quote("#endif")
cpp_quote("#define D3D10_1_FLOAT16_FUSED_TOLERANCE_IN_ULP (0.6)") cpp_quote("#define D3D10_1_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP (0.6f)")