From 7a445747eaa3a63ecf8cd5a8c7bbae58a0c97ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Tue, 9 Oct 2007 14:56:46 +0200 Subject: [PATCH] ddraw: Do not fail on surface creation errors, skip instead. --- dlls/ddraw/tests/d3d.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c index f154a3a99a3..b82b67fa97b 100644 --- a/dlls/ddraw/tests/d3d.c +++ b/dlls/ddraw/tests/d3d.c @@ -93,9 +93,8 @@ static BOOL CreateDirect3D(void) ddsd.dwWidth = 256; ddsd.dwHeight = 256; rc = IDirectDraw7_CreateSurface(lpDD, &ddsd, &lpDDS, NULL); - ok(rc==DD_OK, "CreateSurface returned: %x\n", rc); if (!SUCCEEDED(rc)) - return FALSE; + return FALSE; memset(&ddsd, 0, sizeof(ddsd)); ddsd.dwSize = sizeof(ddsd);