ddrawex/tests: Fix some test failures on W95.

This commit is contained in:
Paul Vriens 2009-02-26 09:45:00 +01:00 committed by Alexandre Julliard
parent 2ba5581924
commit 53bd36ebe3
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@ static void RefCountTest(void)
IDirectDraw_AddRef(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);
IDirectDraw_Release(dd1);
ref = get_ref((IUnknown *) dd1);