Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
SDL_SetGamma(3) | SDL API Reference | SDL_SetGamma(3) |
NAME
SDL_SetGamma - Sets the color gamma function for the displaySYNOPSIS
#include "SDL.h"DESCRIPTION
Sets the "gamma function" for the display of each color component. Gamma controls the brightness/contrast of colors displayed on the screen. A gamma value of 1.0 is identity (i.e., no adjustment is made).RETURN VALUE
Returns -1 on error (or if gamma adjustment is not supported).SEE ALSO
SDL_GetGammaRamp SDL_SetGammaRampTue 11 Sep 2001, 23:01 | SDL |