Wiki Page Content

Revision 5 as of 2010-09-03 23:30:59

Clear message

SDL_SetWindowFullscreen

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

Syntax

int SDL_SetWindowFullscreen(SDL_Window* window,
                            int         fullscreen)

Function Parameters

window

the window to set

fullscreen

1 for fullscreen or 0 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