ddraw: Fix an incorrect refcount test.

This commit is contained in:
Luke Benstead 2009-12-17 19:00:44 +00:00 committed by Alexandre Julliard
parent 776ee9ee81
commit 34e82e3dbd
1 changed files with 1 additions and 1 deletions

View File

@ -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);