Skip to content
Snippets Groups Projects
Commit db0aabca authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

ddraw: Don't crash in d3d test if OpenGL is missing.

parent 0811851b
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ static BOOL CreateDirect3D(void)
ok(rc==DD_OK, "SetCooperativeLevel returned: %lx\n", rc);
rc = IDirectDraw7_QueryInterface(lpDD, &IID_IDirect3D7, (void**) &lpD3D);
if (rc == E_NOINTERFACE) return FALSE;
ok(rc==DD_OK, "QueryInterface returned: %lx\n", rc);
memset(&ddsd, 0, sizeof(ddsd));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment