Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-05-09 06:22:14
Size: 915
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 2 as of 2010-05-12 04:58:38
Size: 914
Editor: SheenaSmith
Comment: minor correction
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
void SDL_QuitSubSystem(Uint32 flags); void SDL_QuitSubSystem(Uint32 flags)

DRAFT

SDL_QuitSubSystem

Use this function to clean up quit specific SDL subsystems.

Syntax

void SDL_QuitSubSystem(Uint32 flags)

Function Parameters

flags

any of the flags used by SDL_Init(); see Remarks for details

Code Examples

You can add your code example here

Remarks

These are the flags which may be passed to SDL_QuitSubSystem() and may be OR'd together to quit multiple subsystems simultaneously.

Include: Nothing found for "== Return Value =="!

SDL_INIT_TIMER

timer subsystem

SDL_INIT_AUDIO

audio subsystem

SDL_INIT_VIDEO

video subsystem; automatically initializes the events subsystem

SDL_INIT_JOYSTICK

joystick subsystem; automatically initializes the events subsystem

SDL_INIT_HAPTIC

haptic (force feedback) subsystem

SDL_INIT_GAMECONTROLLER

controller subsystem; automatically initializes the joystick subsystem

SDL_INIT_EVENTS

events subsystem

SDL_INIT_EVERYTHING

all of the above subsystems

SDL_INIT_NOPARACHUTE

compatibility; this flag is ignored

If you want to initialize subsystems separately you would call SDL_Init(0) followed by SDL_InitSubSystem() with the desired subsystem flag.

Related Functions


CategoryAPI, CategoryInit

You can add useful comments here


CategoryAPI, CategoryInit

None: SDL_QuitSubSystem (last edited 2016-06-10 20:00:41 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit