[PATCH 2/2] d3dx9: Test penultimate declaration element in D3DXDeclaratorFromFVFTest.
Misha Koshelev
misha680 at gmail.com
Tue Jul 6 15:13:05 CDT 2010
---
dlls/d3dx9_36/tests/mesh.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c
index a2fb6d8..2952e23 100644
--- a/dlls/d3dx9_36/tests/mesh.c
+++ b/dlls/d3dx9_36/tests/mesh.c
@@ -262,7 +262,7 @@ static void D3DXDeclaratorFromFVFTest(void)
if (hr == D3D_OK)
{
- for (i=0; i<4; i++)
+ for (i=0; i<5; i++)
{
ok(decl[i].Stream == exp1[i].Stream, "Returned stream %d, expected %d\n", decl[i].Stream, exp1[i].Stream);
ok(decl[i].Type == exp1[i].Type, "Returned type %d, expected %d\n", decl[i].Type, exp1[i].Type);
@@ -282,7 +282,7 @@ static void D3DXDeclaratorFromFVFTest(void)
if (hr == D3D_OK)
{
- for (i=0; i<1; i++)
+ for (i=0; i<2; i++)
{
ok(decl[i].Stream == exp2[i].Stream, "Returned stream %d, expected %d\n", decl[i].Stream, exp2[i].Stream);
ok(decl[i].Type == exp2[i].Type, "Returned type %d, expected %d\n", decl[i].Type, exp1[i].Type);
@@ -305,7 +305,7 @@ static void D3DXDeclaratorFromFVFTest(void)
if (hr == D3D_OK)
{
- for (i=0; i<2; i++)
+ for (i=0; i<3; i++)
{
ok(decl[i].Stream == exp3[i].Stream, "Returned stream %d, expected %d\n", decl[i].Stream, exp3[i].Stream);
ok(decl[i].Type == exp3[i].Type, "Returned type %d, expected %d\n", decl[i].Type, exp3[i].Type);
--
1.7.1
More information about the wine-patches
mailing list