mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ddraw: Do not fail on surface creation errors, skip instead.
This commit is contained in:
parent
aec86b4ef9
commit
7a445747ea
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue