[PATCH 1/5] d3dx9/tests: Use ARRAY_SIZE in test_D3DXSHEvalDirectionalLight().
Matteo Bruni
matteo.mystral at gmail.com
Wed May 24 17:44:49 CDT 2017
2017-05-23 11:04 GMT+02:00 Henri Verbeet <hverbeet at codeweavers.com>:
> @@ -2908,7 +2908,7 @@ static void test_D3DXSHEvalDirectionalLight(void)
> green_out = test[l].green_in;
> blue_out = test[l].blue_in;
>
> - for (j = 0; j < 49; j++)
> + for (j = 0; j < ARRAY_SIZE(red_out); ++j)
red_out here is defined as a pointer, not an array.
More information about the wine-devel
mailing list