From 785921ff4965d9004512dc9b53bcc5c31994e24d Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Tue, 4 Jun 2013 09:32:00 +0200 Subject: [PATCH] d3dx9_36: Define D3DXSPRITE_xxx flags in hex for better readability. --- include/d3dx9core.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/d3dx9core.h b/include/d3dx9core.h index 252d5db214c..b6226d653bd 100644 --- a/include/d3dx9core.h +++ b/include/d3dx9core.h @@ -28,15 +28,15 @@ implementing all dlls from d3dx9_24 to d3dx9_36 */ #define D3DX_VERSION 0x0902 #define D3DX_SDK_VERSION 36 -#define D3DXSPRITE_DONOTSAVESTATE 1 -#define D3DXSPRITE_DONOTMODIFY_RENDERSTATE 2 -#define D3DXSPRITE_OBJECTSPACE 4 -#define D3DXSPRITE_BILLBOARD 8 -#define D3DXSPRITE_ALPHABLEND 16 -#define D3DXSPRITE_SORT_TEXTURE 32 -#define D3DXSPRITE_SORT_DEPTH_FRONTTOBACK 64 -#define D3DXSPRITE_SORT_DEPTH_BACKTOFRONT 128 -#define D3DXSPRITE_DO_NOT_ADDREF_TEXTURE 256 +#define D3DXSPRITE_DONOTSAVESTATE 0x00000001 +#define D3DXSPRITE_DONOTMODIFY_RENDERSTATE 0x00000002 +#define D3DXSPRITE_OBJECTSPACE 0x00000004 +#define D3DXSPRITE_BILLBOARD 0x00000008 +#define D3DXSPRITE_ALPHABLEND 0x00000010 +#define D3DXSPRITE_SORT_TEXTURE 0x00000020 +#define D3DXSPRITE_SORT_DEPTH_FRONTTOBACK 0x00000040 +#define D3DXSPRITE_SORT_DEPTH_BACKTOFRONT 0x00000080 +#define D3DXSPRITE_DO_NOT_ADDREF_TEXTURE 0x00000100 /********************************************** ******************** GUIDs ******************* -- 2.11.4.GIT