SDL_SetWindowFullscreen
Use this function to set the window's fullscreen state.
Contents
Syntax
int SDL_SetWindowFullscreen(SDL_WindowID windowID,
int fullscreen)
Function Parameters
windowID |
the type used to identify the window |
fullscreen |
Return Value
Returns 0 on success or -1 if setting the display mode failed; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
