ddraw: Fix an incorrect refcount test
Luke Benstead
kazade at gmail.com
Thu Dec 17 13:20:09 CST 2009
Luke.
-------------- next part --------------
From 19b20d4f8decf85b581f3406329617dd48dba06a Mon Sep 17 00:00:00 2001
From: Luke Benstead <kazade at gmail.com>
Date: Thu, 17 Dec 2009 19:00:44 +0000
Subject: 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);
--
1.6.3.3
More information about the wine-patches
mailing list