Commit 4066c2e2 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ddraw: Do not fail if D3D is not available.

parent a29a2293
......@@ -949,8 +949,8 @@ static BOOL D3D1_createObjects(void)
ddsd.dwWidth = 256;
ddsd.dwHeight = 256;
hr = IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &Surface1, NULL);
ok(hr==DD_OK, "CreateSurface returned: %x\n", hr);
if (!Surface1) {
skip("DDSCAPS_3DDEVICE surface not available\n");
return FALSE;
}
......
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