DRAFT |
SDL_VideoInit
Use this function to initialize the video subsystem, optionally specifying a video driver.
Contents
Syntax
int SDL_VideoInit(const char* driver_name,
Uint32 flags)
Function Parameters
driver_name |
initialize a specific driver by name, or NULL for the default video driver |
flags |
FIXME: Still needed? |
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
This function initializes the video subsystem; setting up a connection to the window manager, etc, and determines the available display modes and pixel formats, but does not initialize a window or graphics mode.
