[PATCH 2/2] ddraw/tests: Add a FIXME note to the IDirect3D* refcount tests

Stefan Dösinger stefan at codeweavers.com
Thu Feb 2 07:57:06 CST 2012


---
 dlls/ddraw/tests/refcount.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/ddraw/tests/refcount.c b/dlls/ddraw/tests/refcount.c
index 970865e..b5a699b 100644
--- a/dlls/ddraw/tests/refcount.c
+++ b/dlls/ddraw/tests/refcount.c
@@ -356,6 +356,9 @@ static void test_d3d_ifaces(void)
     ref = getRefcount( (IUnknown *) DDraw1);
     ok(ref == 1, "IDirectDraw reference count is %ld\n", ref);
 
+    /* FIXME: This test suggests that IDirect3D, IDirect3D2 and IDirect3D3 are linked
+     * to IDirectDraw. However, they are linked to whatever interface is used to QI the
+     * first IDirect3D? interface. If DDraw1 is replaced with DDraw4 here the tests break */
     hr = IDirectDraw_QueryInterface(DDraw1, &IID_IDirect3D, (void **) &D3D1);
     if (hr == E_NOINTERFACE)  /* win64 */
     {
-- 
1.7.3.4




More information about the wine-patches mailing list