d3dx8/tests: Initialize matrix before testing its value.

This commit is contained in:
Dan Kegel 2008-06-10 06:39:46 -07:00 committed by Alexandre Julliard
parent 63557d572c
commit fe508a9cd7
1 changed files with 1 additions and 0 deletions

View File

@ -233,6 +233,7 @@ static void D3DXMatrixTest(void)
/*____________D3DXMatrixIsIdentity______________*/
expected = FALSE;
memset(&mat3, 0, sizeof(mat3));
got = D3DXMatrixIsIdentity(&mat3);
ok(expected == got, "Expected : %d, Got : %d\n", expected, got);
D3DXMatrixIdentity(&mat3);