mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Fixed param checks in createsurface code. and one wrong if check
svn path=/trunk/; revision=31260
This commit is contained in:
@@ -39,8 +39,7 @@ Internal_CreateSurface( LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD,
|
||||
DWORD num_of_surf=1;
|
||||
DWORD count;
|
||||
|
||||
/* Fixme adding vaidlate of income param */
|
||||
if(pDDraw->lpLcl->dwLocalFlags == 0x20000)
|
||||
if(pDDraw->lpLcl->dwLocalFlags != DDRAWILCL_SETCOOPCALLED)
|
||||
{
|
||||
return DDERR_NOCOOPERATIVELEVELSET;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user