diff --git a/dlls/d3dx8/tests/math.c b/dlls/d3dx8/tests/math.c index 6bec5e5a943..e69c6d23d64 100644 --- a/dlls/d3dx8/tests/math.c +++ b/dlls/d3dx8/tests/math.c @@ -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);