www.fifi.org Documentation Manpages GNU Info Debian document tree Whole document tree Trigance web page Public services User info Mailing lists Secure server Multilingual usage
Copyright (C) 2000-2012 Philippe Troin <webmaster@fifi.org>.
Validate HTML Validate CSS
Whole document tree
#include "SDL.h"
int SDL_GetGammaRamp(Uint16 *redtable, Uint16 *greentable, Uint16 *bluetable);
int SDL_GetGammaRamp
Gets the gamma translation lookup tables currently used by the display. Each table is an array of 256 Uint16 values.
Not all display hardware is able to change gamma.
Returns -1 on error.
SDL_SetGamma SDL_SetGammaRamp