-next-
Initialization

SDL_Init() is used to load and initialize the library. When you call it, you can specify a number of flags (which you bitwise-OR together):

For example:

SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO);

Use SDL_Quit() to clean up when you're done.