summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2010-09-14 12:10:19 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-14 12:10:19 +0200
commitaab9dafd7b89ef764a691d2ad4abd14ec88dddf4 (patch)
tree94f23a48b5f5874c19551738be852bd123f312c4 /canvas
parent274928f4eb238c703217d473f36b43deb4260d61 (diff)
win32-dxsdk-200908.diff: Build also against DirectX SDK August 2009.
Diffstat (limited to 'canvas')
-rwxr-xr-xcanvas/source/directx/dx_winstuff.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index d1718b07f3d1..935c12501768 100755
--- a/canvas/source/directx/dx_winstuff.hxx
+++ b/canvas/source/directx/dx_winstuff.hxx
@@ -84,9 +84,14 @@
#else
+ #include <dxsdkver.h>
#include <d3d9.h>
#include <d3dx9.h>
-// #include <dxerr9.h> #i107614# removing include, it has been changed in the latest sdk fron August2009 from dxerr9.h into dxerr.h
+ #if _DXSDK_BUILD_MAJOR < 1734 /* Earlier than the August 2009 DXSDK */
+ #include <dxerr9.h>
+ #else
+ #include <dxerr.h>
+ #endif
typedef IDirect3DSurface9 surface_type;