SDL_SetGamma?
NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO
SDL_SetGamma?- Sets the color gamma function for the display
#include
int SDL_SetGamma?(float redgamma, float greengamma, float bluegamma);
Sets the
This function adjusts the gamma based on the SDL_SetGammaRamp?''.
Not all display hardware is able to change gamma.
Returns -1 on error (or if gamma adjustment is not supported).
SDL_GetGammaRamp? SDL_SetGammaRamp?
One page links to SDL_SetGamma(3):