Commit 53bd36eb authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ddrawex/tests: Fix some test failures on W95.

parent 2ba55819
...@@ -58,6 +58,12 @@ static void RefCountTest(void) ...@@ -58,6 +58,12 @@ static void RefCountTest(void)
IDirectDraw_AddRef(dd1); IDirectDraw_AddRef(dd1);
ref = get_ref((IUnknown *) dd1); ref = get_ref((IUnknown *) dd1);
if (ref == 1)
{
win_skip("Refcounting is broken\n");
IDirectDraw_Release(dd1);
return;
}
ok(ref == 2, "After AddRef the refcount is %u, expected 2\n", ref); ok(ref == 2, "After AddRef the refcount is %u, expected 2\n", ref);
IDirectDraw_Release(dd1); IDirectDraw_Release(dd1);
ref = get_ref((IUnknown *) dd1); ref = get_ref((IUnknown *) dd1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment