Kai Tietz : d3dx9core.h: Allow overriding D3DX_SDK_VERSION.

Alexandre Julliard julliard at winehq.org
Sat Feb 22 09:50:03 CST 2014


Module: wine
Branch: master
Commit: d7c4663df10f2d8606eeedfd4f53ed0485075052
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d7c4663df10f2d8606eeedfd4f53ed0485075052

Author: Kai Tietz <ktietz70 at googlemail.com>
Date:   Thu Feb 20 16:56:20 2014 +0100

d3dx9core.h: Allow overriding D3DX_SDK_VERSION.

---

 include/d3dx9core.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/d3dx9core.h b/include/d3dx9core.h
index f91ffd4..5233317 100644
--- a/include/d3dx9core.h
+++ b/include/d3dx9core.h
@@ -27,7 +27,9 @@
 /* D3DX_VERSION will be completely ignored since we are
     implementing all dlls from d3dx9_24 to d3dx9_36 */
 #define D3DX_VERSION 0x0902
+#ifndef D3DX_SDK_VERSION
 #define D3DX_SDK_VERSION 36
+#endif
 #define D3DXSPRITE_DONOTSAVESTATE          0x00000001
 #define D3DXSPRITE_DONOTMODIFY_RENDERSTATE 0x00000002
 #define D3DXSPRITE_OBJECTSPACE             0x00000004




More information about the wine-cvs mailing list