SDL-1.2.14
[sdl_omap.git] / docs / man3 / SDL_GetGamma.3
CommitLineData
e14743d1 1.TH "SDL_GetGamma" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
2.SH "NAME"
3SDL_GetGamma \- Gets the gamma of the display
4.SH "SYNOPSIS"
5.PP
6\fB#include "SDL\&.h"
7.sp
8\fBint \fBSDL_GetGamma\fP\fR(\fBfloat *red, float *green, float *blue\fR);
9.SH "DESCRIPTION"
10.PP
11Gets the color gamma of the display\&. The gamma value for each color component will be place in the parameters \fBred\fR, \fBgreen\fR and \fBblue\fR\&. The values can range from 0\&.1 to 10\&.
12.PP
13.RS
14\fBNote:
15.PP
16This function currently only works on XFreee 4\&.0 and up\&.
17.RE
18.SH "SEE ALSO"
19.PP
20\fI\fBSDL_SetGamma\fP\fR, \fI\fBSDL_SetVideoMode\fP\fR
21.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01