mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
ddraw: Do not fail on surface creation errors, skip instead.
This commit is contained in:
parent
aec86b4ef9
commit
7a445747ea
@ -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 New Issue
Block a user