d3d10core/tests: Skip the tests if we can't create a DXGI factory.
This commit is contained in:
parent
12b9d37120
commit
180f74afcd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue