d3d: Fix the value of D3DFVF_POSITION_MASK.

Henri Verbeet hverbeet at codeweavers.com
Fri Jan 2 09:19:12 CST 2009


---
 include/d3d9types.h      |    2 +-
 include/wine/wined3d.idl |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/d3d9types.h b/include/d3d9types.h
index 61e321c..d0ac9b4 100644
--- a/include/d3d9types.h
+++ b/include/d3d9types.h
@@ -128,7 +128,7 @@
 #define MAX_DEVICE_IDENTIFIER_STRING        512
 
 #define D3DFVF_RESERVED0           0x0001
-#define D3DFVF_POSITION_MASK       0x000E
+#define D3DFVF_POSITION_MASK       0x400E
 #define D3DFVF_XYZ                 0x0002
 #define D3DFVF_XYZRHW              0x0004
 #define D3DFVF_XYZB1               0x0006
diff --git a/include/wine/wined3d.idl b/include/wine/wined3d.idl
index ae64888..422673e 100644
--- a/include/wine/wined3d.idl
+++ b/include/wine/wined3d.idl
@@ -889,7 +889,7 @@ const UINT WINED3DCLIPPLANE5                                    = (1 << 5);
 
 /* FVF (Flexible Vertex Format) codes */
 const UINT WINED3DFVF_RESERVED0                                 = 0x0001;
-const UINT WINED3DFVF_POSITION_MASK                             = 0x000e;
+const UINT WINED3DFVF_POSITION_MASK                             = 0x400e;
 const UINT WINED3DFVF_XYZ                                       = 0x0002;
 const UINT WINED3DFVF_XYZRHW                                    = 0x0004;
 const UINT WINED3DFVF_XYZB1                                     = 0x0006;
-- 
1.6.0.6



--------------000709040402020200040802--



More information about the wine-patches mailing list