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,7 +93,6 @@ static BOOL CreateDirect3D(void)
|
|||||||
ddsd.dwWidth = 256;
|
ddsd.dwWidth = 256;
|
||||||
ddsd.dwHeight = 256;
|
ddsd.dwHeight = 256;
|
||||||
rc = IDirectDraw7_CreateSurface(lpDD, &ddsd, &lpDDS, NULL);
|
rc = IDirectDraw7_CreateSurface(lpDD, &ddsd, &lpDDS, NULL);
|
||||||
ok(rc==DD_OK, "CreateSurface returned: %x\n", rc);
|
|
||||||
if (!SUCCEEDED(rc))
|
if (!SUCCEEDED(rc))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user