From bcb7311516791a2276a3054ac3d0d43129d5e18a Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Sat, 8 Mar 2008 14:25:15 +0100 Subject: [PATCH] d3dx9: Add the _D3DXERR enumeration. --- include/d3dx9.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/d3dx9.h b/include/d3dx9.h index 5d9fd5f34a0..dce0aeb18d5 100644 --- a/include/d3dx9.h +++ b/include/d3dx9.h @@ -25,4 +25,19 @@ #include "d3dx9math.h" #include "d3dx9core.h" +#define _FACDD 0x876 +#define MAKE_DDHRESULT(code) MAKE_HRESULT(1, _FACDD, code) + +enum _D3DXERR { + D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900), + D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901), + D3DXERR_CANNOTATTRSORT = MAKE_DDHRESULT(2902), + D3DXERR_SKINNINGNOTSUPPORTED = MAKE_DDHRESULT(2903), + D3DXERR_TOOMANYINFLUENCES = MAKE_DDHRESULT(2904), + D3DXERR_INVALIDDATA = MAKE_DDHRESULT(2905), + D3DXERR_LOADEDMESHASNODATA = MAKE_DDHRESULT(2906), + D3DXERR_DUPLICATENAMEDFRAGMENT = MAKE_DDHRESULT(2907), + D3DXERR_CANNOTREMOVELASTITEM = MAKE_DDHRESULT(2908), +}; + #endif