5 May
2025
5 May
'25
4:40 p.m.
Nikolay Sivov (@nsivov) commented about dlls/d2d1/tests/d2d1.c:
+ return; + + if (!ctx.factory1) + { + win_skip("ID2D1Factory1 is not supported.\n"); + release_test_context(&ctx); + return; + } + + hr = ID2D1Factory1_CreateDevice(ctx.factory1, ctx.device, &device); + ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr); + + hr = ID2D1Device_CreateDeviceContext(device, D2D1_DEVICE_CONTEXT_OPTIONS_NONE, &context); + ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr); + + ID2D1DeviceContext_SetTarget(context, NULL); Is this really necessary? It should already be null.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7959#note_102570