mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 17:23:53 +00:00
ddraw: Fix an incorrect refcount test.
This commit is contained in:
parent
776ee9ee81
commit
34e82e3dbd
@ -268,7 +268,7 @@ static void test_iface_refcnt(void)
|
||||
ok(ref == 2, "IDirectDraw7 reference count is %ld\n", ref);
|
||||
|
||||
/* Can't get older d3d interfaces. WHY????? */
|
||||
hr = IDirectDraw7_QueryInterface(DDraw4, &IID_IDirect3D3, (void **) &D3D3);
|
||||
hr = IDirectDraw7_QueryInterface(DDraw7, &IID_IDirect3D3, (void **) &D3D3);
|
||||
todo_wine ok(hr == E_NOINTERFACE, "IDirectDraw7_QueryInterface returned %08x\n", hr);
|
||||
if(hr == DD_OK && D3D3) IDirect3D3_Release(D3D3);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user