Commit f37a438e authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d8/tests: Skip test_reset() when device is initially lost.

parent e38f52f1
......@@ -1369,6 +1369,12 @@ static void test_reset(void)
goto cleanup;
}
hr = IDirect3DDevice8_TestCooperativeLevel(device1);
/* This skips the test on testbot Win 8 VMs. */
if (hr == D3DERR_DEVICELOST)
{
skip("Device is lost.\n");
goto cleanup;
}
ok(SUCCEEDED(hr), "TestCooperativeLevel failed, hr %#x.\n", hr);
hr = IDirect3DDevice8_GetDeviceCaps(device1, &caps);
......
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