[PATCH] d3dx9: Add some definitions in d3dx9.h

Tony Wasserka tony.wasserka at freenet.de
Sun Mar 8 08:54:12 CDT 2009


---
 include/d3dx9.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/d3dx9.h b/include/d3dx9.h
index 6b3bdf6..47d2830 100644
--- a/include/d3dx9.h
+++ b/include/d3dx9.h
@@ -21,6 +21,12 @@
 
 #include <limits.h>
 
+#define D3DX_DEFAULT         ((UINT)-1)
+#define D3DX_DEFAULT_NONPOW2 ((UINT)-2)
+#define D3DX_DEFAULT_FLOAT   FLT_MAX
+#define D3DX_FROM_FILE       ((UINT)-3)
+#define D3DFMT_FROM_FILE     ((D3DFORMAT)-3)
+
 #include "d3d9.h"
 #include "d3dx9math.h"
 #include "d3dx9core.h"
-- 
1.5.6.6


--------------050908080504050206080002--



More information about the wine-patches mailing list