Name

sdl_wasinit — Check which subsystems are initialized

Synopsis

long sdl_wasinit($flags); 
long  $flags;

Description

SDL_WasInit allows you to see which SDL subsytems have been initial ized. flags is a bitwise OR'd combination of the subsystems you wish to check (see sdl_init for a list of subsystem flags).

Return Value

SDL_WasInit returns a bitwised OR’d combination of the initialized subsystems.