Wiki Page Content

Revision 12 as of 2011-04-22 17:03:25

Clear message

SDL_SetWindowFullscreen

Use this function to set a window's fullscreen state.

Syntax

int SDL_SetWindowFullscreen(SDL_Window* window,
                            SDL_bool    fullscreen)

Function Parameters

window

the window to change

fullscreen

SDL_TRUE for fullscreen or SDL_FALSE for windowed

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

You can add useful comments here


CategoryAPI, CategoryVideo

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