mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
d3d9/tests: Test for Direct3DCreate9 failure.
This commit is contained in:
parent
a6e0c9cbf3
commit
15a5da9790
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user