[PATCH 3/5] d3dx9_36/tests: Use the proper D3DFVF_PSIZE constant in test_fvf_decl_conversion().
Henri Verbeet
hverbeet at codeweavers.com
Tue Aug 24 11:43:19 CDT 2010
I'm not sure what the idea behind copying a ddraw define was.
---
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[] =
--
1.7.1
More information about the wine-patches
mailing list