]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/builddeps/dp.win64/share/man/man3/SDL_WM_ToggleFullScreen.3
Handle errors right.
[xonotic/xonotic.git] / misc / builddeps / dp.win64 / share / man / man3 / SDL_WM_ToggleFullScreen.3
1 .TH "SDL_WM_ToggleFullScreen" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" 
2 .SH "NAME"
3 SDL_WM_ToggleFullScreen \- Toggles fullscreen mode
4 .SH "SYNOPSIS"
5 .PP
6 \fB#include "SDL\&.h"
7 .sp
8 \fBint \fBSDL_WM_ToggleFullScreen\fP\fR(\fBSDL_Surface *surface\fR);
9 .SH "DESCRIPTION"
10 .PP
11 Toggles the application between windowed and fullscreen mode, if supported\&. (X11 is the only target currently supported, BeOS support is experimental)\&.
12 .SH "RETURN VALUE"
13 .PP
14 Returns \fB0\fR on failure or \fB1\fR on success\&.
15 .\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02