Commit fe508a9c authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

d3dx8/tests: Initialize matrix before testing its value.

parent 63557d57
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment