d3dx9/tests: Initialize an input variable.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dbfd33e501
commit
e1463532be
|
@ -3309,6 +3309,7 @@ static void test_D3DXFloat_Array(void)
|
||||||
};
|
};
|
||||||
|
|
||||||
/* exception on NULL out or in parameter */
|
/* exception on NULL out or in parameter */
|
||||||
|
single.f = 0.0f;
|
||||||
out = D3DXFloat32To16Array(&half, &single.f, 0);
|
out = D3DXFloat32To16Array(&half, &single.f, 0);
|
||||||
ok(out == &half, "Got %p, expected %p.\n", out, &half);
|
ok(out == &half, "Got %p, expected %p.\n", out, &half);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue