From f73e0f05ef9bb361f493577a6cb5c5f1eeda17cb Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Fri, 24 Jun 2011 10:27:09 -0400 Subject: [PATCH] d3dx9/tests: Avoid using FP_NAN for portability. --- 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 a07cc9dd9f4..6925f2dabe1 100644 --- a/dlls/d3dx9_36/tests/mesh.c +++ b/dlls/d3dx9_36/tests/mesh.c @@ -4809,7 +4809,7 @@ static void test_create_skin_info(void) exp_vertices[0] = 0; exp_vertices[1] = 0x87654321; exp_weights[0] = 0.5; - exp_weights[1] = FP_NAN; + exp_weights[1] = 0.0f / 0.0f; num_influences = 2; hr = skininfo->lpVtbl->SetBoneInfluence(skininfo, 1, num_influences, vertices, weights);