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:
Matteo Bruni 2022-02-18 11:14:26 +01:00 committed by Alexandre Julliard
parent dbfd33e501
commit e1463532be
1 changed files with 1 additions and 0 deletions

View File

@ -3309,6 +3309,7 @@ static void test_D3DXFloat_Array(void)
};
/* exception on NULL out or in parameter */
single.f = 0.0f;
out = D3DXFloat32To16Array(&half, &single.f, 0);
ok(out == &half, "Got %p, expected %p.\n", out, &half);