1SDL_GetGammaRamp(3) SDL API Reference SDL_GetGammaRamp(3)
2
3
4
6 SDL_GetGammaRamp - Gets the color gamma lookup tables for the display
7
9 #include "SDL.h"
10
11 int SDL_GetGammaRamp(Uint16 *redtable, Uint16 *greentable, Uint16
12 *bluetable);
13
15 Gets the gamma translation lookup tables currently used by the display.
16 Each table is an array of 256 Uint16 values.
17
18 Not all display hardware is able to change gamma.
19
21 Returns -1 on error.
22
24 SDL_SetGamma SDL_SetGammaRamp
25
26
27
28SDL Tue 11 Sep 2001, 23:01 SDL_GetGammaRamp(3)