diff --git a/reactos/dll/directx/ddraw/Surface/createsurface.c b/reactos/dll/directx/ddraw/Surface/createsurface.c index 7743031a5e9..ef7a203bddb 100644 --- a/reactos/dll/directx/ddraw/Surface/createsurface.c +++ b/reactos/dll/directx/ddraw/Surface/createsurface.c @@ -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; }