d3dx9core.h: Allow overriding D3DX_SDK_VERSION.

System Internals / WINE - Kai Tietz [googlemail.com] - 22 February 2014 08:18 UTC



###

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

d7c4663 d3dx9core.h: Allow overriding D3DX_SDK_VERSION.
include/d3dx9core.h | 2 ++
1 file changed, 2 insertions(+)

Upstream: source.winehq.org


  • Share