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

This commit is contained in:
Henri Verbeet 2010-08-24 18:43:19 +02:00 committed by Alexandre Julliard
parent bcd452ab82
commit 5655c6f0bb
1 changed files with 1 additions and 3 deletions

View File

@ -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[] =