diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-09-01 12:11:59 +0300 |
---|---|---|
committer | Andrew Knight <andrew.knight@digia.com> | 2014-09-01 14:28:07 +0200 |
commit | ffceaf62135e58cfc14d3d9fd058ff0c08baf1e9 (patch) | |
tree | 2e98da834b48db446cc26a4ab648b3f016302ba3 /src/3rdparty/angle/src/common/platform.h | |
parent | 552ac4bcb69d146c35e0b8adc83f3634d84a1d18 (diff) |
ANGLE: Fix -angle-d3d11 on MSVC2010
Allow the D3D11 renderer to build with the June 2010 DirectX SDK.
Change-Id: I2343acedab16845d6a0d4a53cf3145f583efc4a7
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/3rdparty/angle/src/common/platform.h')
-rw-r--r-- | src/3rdparty/angle/src/common/platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/angle/src/common/platform.h b/src/3rdparty/angle/src/common/platform.h index cedc6f2f22..44c5c7c03b 100644 --- a/src/3rdparty/angle/src/common/platform.h +++ b/src/3rdparty/angle/src/common/platform.h @@ -59,8 +59,10 @@ # include <d3d10.h> # include <d3d11.h> # include <dxgi.h> +# if _MSC_VER >= 1700 # include <dxgi1_2.h> # include <d3dcompiler.h> +# endif # endif # undef near |