[PATCH 5/5] d3dx9_36/tests: Use NAN.

Stefan Dösinger stefan at codeweavers.com
Thu Jan 2 08:23:53 CST 2014


---
 dlls/d3dx9_36/tests/mesh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c
index 3a876e5..21c3b41 100644
--- a/dlls/d3dx9_36/tests/mesh.c
+++ b/dlls/d3dx9_36/tests/mesh.c
@@ -4800,7 +4800,7 @@ static void test_create_skin_info(void)
             exp_vertices[0] = 0;
             exp_vertices[1] = 0x87654321;
             exp_weights[0] = 0.5;
-            exp_weights[1] = 0.0f / 0.0f; /* NAN */
+            exp_weights[1] = NAN;
             num_influences = 2;
 
             hr = skininfo->lpVtbl->SetBoneInfluence(skininfo, 1, num_influences, vertices, weights);
-- 
1.8.3.2




More information about the wine-patches mailing list