summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-01-31 23:58:30 +0000
committerJose Fonseca <jfonseca@vmware.com>2016-03-05 21:43:25 +0000
commitbab1921ca9d30723323a649ac61acf9869adfb34 (patch)
tree6bd9530fb194a4847a3d3d4bbd7a6030927b0449 /thirdparty
parent839a3d8747d329e9fc8d2ae029ae3dd867821d97 (diff)
dxgitrace: Complete DirectComposition specs.
This addresses https://github.com/apitrace/apitrace/issues/377 , but even with complete DirectComposition specs, one will stumble into attempts to use undocumented IID_ID3D11PartnerDevice interface.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/directxtex/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/thirdparty/directxtex/CMakeLists.txt b/thirdparty/directxtex/CMakeLists.txt
index 79f0b235..afe7f3bc 100644
--- a/thirdparty/directxtex/CMakeLists.txt
+++ b/thirdparty/directxtex/CMakeLists.txt
@@ -21,6 +21,7 @@ if (DirectX_D3D11_INCLUDE_FOUND)
${CMAKE_SOURCE_DIR}/thirdparty/mingw/wrl
)
+ remove_definitions (-D_WIN32_WINNT=0x0602 -DWINVER=0x0602)
add_definitions (
#inhibit warnings
-w
@@ -31,6 +32,8 @@ if (DirectX_D3D11_INCLUDE_FOUND)
-D_XM_NO_INTRINSICS_
-DXMINLINE=inline
-DXM_NO_ALIGNMENT
+
+ -D_WIN32_WINNT=0x0501 -DWINVER=0x0501
)
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
add_definitions (-D_XM_X64_)