man SDL_WM_ToggleFullScreen (Fonctions bibliothèques) - SDL_WM_ToggleFullScreen- Toggles fullscreen mode
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 fullscreen mode, if supported. (X11 is the only target currently supported, BeOS support is experimental).
RETURN VALUE
Returns 0 on failure or 1 on success.