Commit 180f74af authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

d3d10core/tests: Skip the tests if we can't create a DXGI factory.

parent 12b9d371
......@@ -32,7 +32,6 @@ static ID3D10Device *create_device(void)
HRESULT hr;
hr = CreateDXGIFactory(&IID_IDXGIFactory, (void *)&factory);
ok(SUCCEEDED(hr), "CreateDXGIFactory failed, hr %#x\n", hr);
if (FAILED(hr)) goto cleanup;
hr = IDXGIFactory_EnumAdapters(factory, 0, &adapter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment