=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3dx9_36/tests: Use NAN.

Alexandre Julliard julliard at winehq.org
Thu Jan 2 13:13:48 CST 2014


Module: wine
Branch: master
Commit: 95317c33a969cb41c6dc5ecc68c0a8712662dc23
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=95317c33a969cb41c6dc5ecc68c0a8712662dc23

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Thu Jan  2 15:23:53 2014 +0100

d3dx9_36/tests: Use NAN.

---

 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 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);




More information about the wine-cvs mailing list