On Thu, 8 Jul 2021 at 12:12, Ziqing Hui zhui@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.