1SDL_GetGamma(3) SDL API Reference SDL_GetGamma(3)
2
3
4
6 SDL_GetGamma - Gets the gamma of the display
7
9 #include "SDL.h"
10
11 int SDL_GetGamma(float *red, float *green, float *blue);
12
14 Gets the color gamma of the display. The gamma value for each color
15 component will be place in the parameters red, green and blue. The val‐
16 ues can range from 0.1 to 10.
17
18 Note:
19
20 This function currently only works on XFreee 4.0 and up.
21
23 SDL_SetGamma, SDL_SetVideoMode
24
25
26
27SDL Tue 11 Sep 2001, 23:01 SDL_GetGamma(3)