d3d11/tests: Initialise "constant" in test_device_context_state() (Valgrind).
commite7ebe3d8d24c872e44dd9f62b001fec8e4014d0d
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 29 Apr 2021 17:06:04 +0000 (29 19:06 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 29 Apr 2021 21:37:46 +0000 (29 23:37 +0200)
treeff25ec54febd9dd03239ee6987d97ce7218a7631
parent55795588f45be11c296214cfb1e60b3fb51e81bd
d3d11/tests: Initialise "constant" in test_device_context_state() (Valgrind).

We're mostly just using this to make sure the value we read back is that same
as the one we set, so in that sense the actual value is inconsequential.
Nevertheless, randomness is generally undesirable in the tests.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3d11/tests/d3d11.c