d3dx9/tests: Avoid using FP_NAN for portability.
This commit is contained in:
parent
1758141847
commit
f73e0f05ef
|
@ -4809,7 +4809,7 @@ static void test_create_skin_info(void)
|
||||||
exp_vertices[0] = 0;
|
exp_vertices[0] = 0;
|
||||||
exp_vertices[1] = 0x87654321;
|
exp_vertices[1] = 0x87654321;
|
||||||
exp_weights[0] = 0.5;
|
exp_weights[0] = 0.5;
|
||||||
exp_weights[1] = FP_NAN;
|
exp_weights[1] = 0.0f / 0.0f;
|
||||||
num_influences = 2;
|
num_influences = 2;
|
||||||
|
|
||||||
hr = skininfo->lpVtbl->SetBoneInfluence(skininfo, 1, num_influences, vertices, weights);
|
hr = skininfo->lpVtbl->SetBoneInfluence(skininfo, 1, num_influences, vertices, weights);
|
||||||
|
|
Loading…
Reference in New Issue