d3dx9/tests: Avoid using FP_NAN for portability.

This commit is contained in:
Dylan Smith 2011-06-24 10:27:09 -04:00 committed by Alexandre Julliard
parent 1758141847
commit f73e0f05ef

View File

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