e14743d1 |
1 | .TH "SDL_GetGamma" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" |
2 | .SH "NAME" |
3 | SDL_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 |
11 | Gets 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 |
16 | This 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 |