d3dx9/tests: Avoid a test failure on Vista testbot.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2019-04-04 16:54:33 +02:00 committed by Alexandre Julliard
parent a2c29deb19
commit ccdb74d81a
1 changed files with 2 additions and 1 deletions

View File

@ -414,7 +414,8 @@ static void D3DXMatrixTest(void)
ret = D3DXMatrixInverse(&gotmat, &determinant, &mat2); ret = D3DXMatrixInverse(&gotmat, &determinant, &mat2);
ok(!ret, "Unexpected return value %p.\n", ret); ok(!ret, "Unexpected return value %p.\n", ret);
expect_matrix(&expectedmat, &gotmat, 1); expect_matrix(&expectedmat, &gotmat, 1);
ok(compare_float(determinant, 5.0f, 0), "Unexpected determinant %.8e.\n", determinant); ok(compare_float(determinant, 5.0f, 0) || broken(!determinant), /* Vista 64 bit testbot */
"Unexpected determinant %.8e.\n", determinant);
/*____________D3DXMatrixIsIdentity______________*/ /*____________D3DXMatrixIsIdentity______________*/
expected = FALSE; expected = FALSE;