d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHDot().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-05-05 13:40:32 +02:00 committed by Alexandre Julliard
parent 38587126f1
commit 9ccbb303a1
1 changed files with 1 additions and 1 deletions

View File

@ -2591,7 +2591,7 @@ static void test_D3DXSHDot(void)
static const float expected[] = {0.5f, 0.5f, 25.0f, 262.5f, 1428.0f, 5362.5f, 15873.0f, 39812.5f};
for (i = 0; i < 49; i++)
for (i = 0; i < ARRAY_SIZE(a); ++i)
{
a[i] = i + 1.0f;
b[i] = i + 0.5f;