Commit 8a1f0eed authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ddraw/tests: Fix a test failure on systems with no DirectDraw7.

parent e94c1ce3
......@@ -654,6 +654,11 @@ static void testddraw7(void)
DWORD *pend;
hr = IDirectDraw_QueryInterface(lpDD, &IID_IDirectDraw7, (void **) &dd7);
if (hr==E_NOINTERFACE)
{
win_skip("DirectDraw7 is not supported\n");
return;
}
ok(hr==DD_OK, "IDirectDraw7_QueryInterface returned %08x\n", hr);
if (hr==DD_OK)
......
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