Tony Wasserka : d3dx9: Add some definitions in d3dx9.h.

Alexandre Julliard julliard at winehq.org
Mon Mar 9 09:40:40 CDT 2009


Module: wine
Branch: master
Commit: 0ed2c2c5e0d7a6466c5ec526a39314fdf92b6aae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0ed2c2c5e0d7a6466c5ec526a39314fdf92b6aae

Author: Tony Wasserka <tony.wasserka at freenet.de>
Date:   Sun Mar  8 14:54:12 2009 +0100

d3dx9: Add some definitions in d3dx9.h.

---

 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"




More information about the wine-cvs mailing list