Henri Verbeet : d3dx9_36/tests: Use the proper D3DFVF_PSIZE constant in test_fvf_decl_conversion().

Alexandre Julliard julliard at winehq.org
Wed Aug 25 12:35:04 CDT 2010


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Aug 24 18:43:19 2010 +0200

d3dx9_36/tests: Use the proper D3DFVF_PSIZE constant in test_fvf_decl_conversion().

---

 dlls/d3dx9_36/tests/mesh.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c
index 502382a..8d0f227 100644
--- a/dlls/d3dx9_36/tests/mesh.c
+++ b/dlls/d3dx9_36/tests/mesh.c
@@ -503,8 +503,6 @@ static void test_decl_to_fvf(const D3DVERTEXELEMENT9 test_decl[], DWORD expected
     }
 }
 
-#define D3DFVF_RESERVED1 0x020 /* in d3dtypes.h */
-
 static void test_fvf_decl_conversion(void)
 {
     int i;
@@ -538,7 +536,7 @@ static void test_fvf_decl_conversion(void)
     {
         CONST D3DVERTEXELEMENT9 test_buffer[] =
             { { 0, 0, D3DDECLTYPE_FLOAT1, 0, D3DDECLUSAGE_PSIZE, 0 }, D3DDECL_END() };
-        test_decl_to_fvf(test_buffer, D3DFVF_RESERVED1, D3D_OK, TRUE, __LINE__);
+        test_decl_to_fvf(test_buffer, D3DFVF_PSIZE, D3D_OK, TRUE, __LINE__);
     }
     {
         CONST D3DVERTEXELEMENT9 test_buffer[] =




More information about the wine-cvs mailing list