Module: wine Branch: master Commit: f73e0f05ef9bb361f493577a6cb5c5f1eeda17cb URL: http://source.winehq.org/git/wine.git/?a=commit;h=f73e0f05ef9bb361f493577a6c...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Fri Jun 24 10:27:09 2011 -0400
d3dx9/tests: Avoid using FP_NAN for portability.
---
dlls/d3dx9_36/tests/mesh.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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 @@ 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);