SDL API Reference SDL_WM_ToggleFullScreen(3)
NAME
SDL_WM_ToggleFullScreen - Toggles fullscreen mode
SYNOPSIS
#include "SDL.h"
int SDL_WM_ToggleFullScreen(SDL_Surface *surface);
DESCRIPTION
Toggles the application between windowed and fullscreenmode, if supported. (X11 is the only target currently sup-
ported, BeOS support is experimental). RETURN VALUE Returns 0 on failure or 1 on success. SDL Last change: Tue 11 Sep 2001, 23:02 1