commit | f73e0f05ef9bb361f493577a6cb5c5f1eeda17cb | [log] [tgz] |
---|---|---|
author | Dylan Smith <dylan.ah.smith@gmail.com> | Fri Jun 24 10:27:09 2011 -0400 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Jun 24 13:25:48 2011 -0500 |
tree | 0accb512fa8eb26290cebe67550b0eb0c180ee36 | |
parent | 1758141847d2592cba467d260169dab1a9f237c7 [diff] |
d3dx9/tests: Avoid using FP_NAN for portability.
diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c index a07cc9d..6925f2d 100644 --- a/dlls/d3dx9_36/tests/mesh.c +++ b/dlls/d3dx9_36/tests/mesh.c
@@ -4809,7 +4809,7 @@ 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);