Checks which SDL subsystems are initialized.
Specifies the subsystems you wish to check:
Flag | Description |
---|---|
SDL_INIT_TIMER | The timer subsystem. |
SDL_INIT_AUDIO | The audio subsystem. |
SDL_INIT_VIDEO | The video subsystem. |
SDL_INIT_CDROM | The CD-ROM subsystem. |
SDL_INIT_JOYSTICK | The joystick subsystem. |
SDL_INIT_EVERYTHING | All subsystems. |
SDL_INIT_NOPARACHUTE | Prevents SDL from catching fatal signals. |
SDL_INIT_EVENTTHREAD | Not supported on all OS's. |
A bitwised OR'd combination of the initialized subsystems.
SDL_WasInit allows you to see which SDL subsytems have been initialized.
Binds to C-function call in SDL.h:
extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags)
Sdl Class | Tao.Sdl Namespace | SDL_Init | SDL_InitSubSystem