dlls/d3d9/tests/visual.c -- address five compiler warnings (RESEND)

Alexandre Julliard julliard at winehq.org
Mon Jan 14 08:24:09 CST 2008


Gerald Pfeifer <gerald at pfeifer.com> writes:

> @@ -4348,12 +4349,12 @@ static void vshader_version_varying_test
>         "vs_3_0 returned color 0x%08x, expected 0x00203366\n", color);
>      color = getPixelColor(device, 160, 360);
>      ok((color & 0x00ff0000) >= 0x003c0000 && (color & 0x00ff0000) <= 0x004e0000 &&
> -       (color & 0x0000ff00) >= 0x00000000 && (color & 0x0000ff00) <= 0x00000000 &&
> +                                             (color & 0x0000ff00) <= 0x00000000 &&
>         (color & 0x000000ff) >= 0x00000066 && (color & 0x000000ff) <= 0x00210068,
>         "vs_1_1 returned color 0x%08x, expected 0x00808080\n", color);
>      color = getPixelColor(device, 480, 360);
>      ok((color & 0x00ff0000) >= 0x003c0000 && (color & 0x00ff0000) <= 0x004e0000 &&
> -       (color & 0x0000ff00) >= 0x00000000 && (color & 0x0000ff00) <= 0x00000000 &&
> +                                             (color & 0x0000ff00) <= 0x00000000 &&
>         (color & 0x000000ff) >= 0x00000066 && (color & 0x000000ff) <= 0x00210068,
>         "vs_2_0 returned color 0x%08x, expected 0x00000000\n", color);

These tests don't make much sense, with or without your fix, plus the
error messages don't match the tests. This needs more work.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list