Luke Benstead : ddraw: Fix an incorrect refcount test.
Alexandre Julliard
julliard at winehq.org
Fri Dec 18 10:49:07 CST 2009
Module: wine
Branch: master
Commit: 34e82e3dbdf2972ae3d7c23358b8e1eaa06e744e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=34e82e3dbdf2972ae3d7c23358b8e1eaa06e744e
Author: Luke Benstead <kazade at gmail.com>
Date: Thu Dec 17 19:00:44 2009 +0000
ddraw: Fix an incorrect refcount test.
---
dlls/ddraw/tests/refcount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/tests/refcount.c b/dlls/ddraw/tests/refcount.c
index 9ad560b..c432f13 100644
--- a/dlls/ddraw/tests/refcount.c
+++ b/dlls/ddraw/tests/refcount.c
@@ -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);
More information about the wine-cvs
mailing list