[PATCH] d3dx9_36/tests: Fix a copy-paste error in test_D3DXSHMultiply3.

Matteo Bruni matteo.mystral at gmail.com
Tue Feb 28 09:22:16 CST 2017


2017-02-27 7:52 GMT+01:00 Alex Henrie <alexhenrie24 at gmail.com>:
> Cc: Paul Gofman <gofmanp at gmail.com>
>
> Coverity #1358849
>
> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
>  dlls/d3dx9_36/tests/math.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
> index dddd806e50..fbb6e272ea 100644
> --- a/dlls/d3dx9_36/tests/math.c
> +++ b/dlls/d3dx9_36/tests/math.c
> @@ -3137,7 +3137,7 @@ static void test_D3DXSHMultiply3(void)
>      D3DXSHMultiply3(c, c, b);
>      for (i = 0; i < 20; i++)
>          ok(relative_error(c[i], expected_aliased[i]) < admitted_error,
> -                "Expected[%d] = %f, received = %f\n", i, expected[i], c[i]);
> +                "Expected[%d] = %f, received = %f\n", i, expected_aliased[i], c[i]);
>  }

With the prefix in the patch subject changed to "d3dx9/tests:" this is

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>



More information about the wine-patches mailing list