Name
sdl.SetWindowFullscreen -- switch display mode
Synopsis
sdl.SetWindowFullscreen(display, mode)
Function
Use this function to set a window's fullscreen state.

mode must be one of the following predefined constants:

#SDL_WINDOW_FULLSCREEN
Real fullscreen with a videomode change

#SDL_WINDOW_FULLSCREEN_DESKTOP
Fake fullscreen that takes the size of the desktop

#SDL_WINDOW_WINDOW
Windowed mode

Inputs
display
identifier of display whose renderer should be used
mode
new display mode

Show TOC