From d7c4663df10f2d8606eeedfd4f53ed0485075052 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Thu, 20 Feb 2014 16:56:20 +0100 Subject: [PATCH] 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 f91ffd4a1b0..5233317bc04 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