1SDL_WM_ToggleFullScreen(3) SDL API Reference SDL_WM_ToggleFullScreen(3)
23
4
NAME
6SDL_WM_ToggleFullScreen- Toggles fullscreen mode
7
SYNOPSIS
9#include "SDL.h"
1011
int SDL_WM_ToggleFullScreen(SDL_Surface *surface);
12
DESCRIPTION
14Toggles the application between windowed and fullscreen mode, if sup‐
15ported. (X11 is the only target currently supported, BeOS support is
16experimental).
17
RETURN VALUE
19Returns 0 on failure or 1 on success.
2021
22
23
SDL Tue 11 Sep 2001, 23:02 SDL_WM_ToggleFullScreen(3)