Dan Kegel : d3dx8/tests: Initialize matrix before testing its value.
Alexandre Julliard
julliard at winehq.org
Tue Jun 10 13:35:25 CDT 2008
Module: wine
Branch: master
Commit: fe508a9cd77ffe5a55ec86b290a117af8684988a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe508a9cd77ffe5a55ec86b290a117af8684988a
Author: Dan Kegel <dank at kegel.com>
Date: Tue Jun 10 06:39:46 2008 -0700
d3dx8/tests: Initialize matrix before testing its value.
---
dlls/d3dx8/tests/math.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/d3dx8/tests/math.c b/dlls/d3dx8/tests/math.c
index 6bec5e5..e69c6d2 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);
More information about the wine-cvs
mailing list