[PATCH v2 2/4] d2d1/tests: Add initial tests for d2d effect.

Henri Verbeet hverbeet at gmail.com
Fri Jul 9 09:59:11 CDT 2021


On Thu, 8 Jul 2021 at 12:12, Ziqing Hui <zhui at codeweavers.com> wrote:
> +    hr = ID2D1DeviceContext_CreateEffect(context, &CLSID_D2D12DAffineTransform, &effect);
> +    ok(hr == S_OK, "Failed to create effect, hr %#x.\n", hr);
> +    if (hr != S_OK)
> +        goto end;
> +
If "hr != S_OK", the test would fail, so there's no need to handle that.



More information about the wine-devel mailing list