From f6fdcc848d75de583be9492e65d39661bfcea993 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Thu, 9 Nov 2017 21:36:10 -0700 Subject: [PATCH] d3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit. Signed-off-by: Alex Henrie Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/d3dx9_36/tests/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c index cb9bf1c2f51..ec073486850 100644 --- a/dlls/d3dx9_36/tests/math.c +++ b/dlls/d3dx9_36/tests/math.c @@ -1099,7 +1099,7 @@ static void D3DXQuaternionTest(void) expectedvec.x = 1.0f/22.0f; expectedvec.y = 2.0f/22.0f; expectedvec.z = 4.0f/22.0f; D3DXQuaternionToAxisAngle(&Nq,&axis,&angle); expect_vec3(&expectedvec, &axis, 0); - equal = compare_float(angle, 2.197869f, 0); + equal = compare_float(angle, 2.197869f, 1); ok(equal, "Got unexpected angle %.8e.\n", angle); /* Test if |w|>1.0f */ expectedvec.x = 1.0f; expectedvec.y = 2.0f; expectedvec.z = 4.0f;