[PATCH v2 08/10] ddraw/tests: Run test_ck_rgba() for each device type.

Henri Verbeet hverbeet at gmail.com
Wed Mar 10 11:32:05 CST 2021


On Tue, 9 Mar 2021 at 10:57, Paul Gofman <pgofman at codeweavers.com> wrote:
> @@ -1767,15 +1794,18 @@ static void test_ck_rgba(void)
>      IDirectDrawSurface *rt;
>      IDirectDraw *ddraw;
>      D3DCOLOR color;
> +    BYTE max_diff;
>      HWND window;
>      DDBLTFX fx;
>      HRESULT hr;
>      UINT i;
>
> +    max_diff = is_software_device_type(device_guid) ? 2 : 1;
> +
I don't think we particularly care about keeping tight tolerances for
hardware devices here. If it's the same to you, it would be fine to
simply use "2" for hardware devices as well.



More information about the wine-devel mailing list