forked from Mirrors/wine-wine
d3d8/tests: Skip test_reset() when device is initially lost.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
e38f52f17a
commit
f37a438e79
|
@ -1369,6 +1369,12 @@ static void test_reset(void)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
hr = IDirect3DDevice8_TestCooperativeLevel(device1);
|
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);
|
ok(SUCCEEDED(hr), "TestCooperativeLevel failed, hr %#x.\n", hr);
|
||||||
|
|
||||||
hr = IDirect3DDevice8_GetDeviceCaps(device1, &caps);
|
hr = IDirect3DDevice8_GetDeviceCaps(device1, &caps);
|
||||||
|
|
Loading…
Reference in New Issue