[PATCH 1/7] d3dx9: Define D3DX_DEFAULT.
Philip Nilsson
pnilsson at nullref.se
Fri Sep 19 10:38:45 CDT 2008
---
include/d3dx9.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/d3dx9.h b/include/d3dx9.h
index b551eba..e74ada9 100644
--- a/include/d3dx9.h
+++ b/include/d3dx9.h
@@ -30,6 +30,8 @@
#define _FACDD 0x876
#define MAKE_DDHRESULT(code) MAKE_HRESULT(1, _FACDD, code)
+#define D3DX_DEFAULT ((UINT) -1)
+
enum _D3DXERR {
D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900),
D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901),
--
1.6.0.2
More information about the wine-patches
mailing list