Nikolay Sivov (@nsivov) commented about dlls/d2d1/tests/d2d1.c:
return; }
- dxgi_device = create_device(d3d11);
- ok(!!dxgi_device, "Failed to create device.\n");
- if (!(dxgi_device = create_device(d3d11)))
- {
skip("Failed to create device, skipping tests.\n");
return;
- }
This works of course, but we might as well use the same init_test_context() and only use ctx.device from it.