ddraw: Do not fail on surface creation errors, skip instead.

This commit is contained in:
Stefan Dösinger 2007-10-09 14:56:46 +02:00 committed by Alexandre Julliard
parent aec86b4ef9
commit 7a445747ea

View File

@ -93,7 +93,6 @@ 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;