Commit 15a5da97 authored by Alexandre Julliard's avatar Alexandre Julliard

d3d9/tests: Test for Direct3DCreate9 failure.

parent a6e0c9cb
......@@ -58,6 +58,9 @@ static void test_qi_base_to_ex(void)
HWND window = create_window();
D3DPRESENT_PARAMETERS present_parameters;
ok( d3d9 != NULL, "Failed to create D3D9 object\n" );
if (!d3d9) return;
hr = IDirect3D9_QueryInterface(d3d9, &IID_IDirect3D9Ex, (void **) &d3d9ex);
ok(hr == E_NOINTERFACE,
"IDirect3D9::QueryInterface for IID_IDirect3D9Ex returned %s, expected E_NOINTERFACE\n",
......
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