DOKK / manpages / debian 10 / libsdl1.2-dev / SDL_WM_ToggleFullScreen.3.en
SDL_WM_ToggleFullScreen(3) SDL API Reference SDL_WM_ToggleFullScreen(3)

SDL_WM_ToggleFullScreen - Toggles fullscreen mode

#include "SDL.h"

int SDL_WM_ToggleFullScreen(SDL_Surface *surface);

Toggles the application between windowed and fullscreen mode, if supported. (X11 is the only target currently supported, BeOS support is experimental).

Returns 0 on failure or 1 on success.

Tue 11 Sep 2001, 23:02 SDL