Penguin
 
SDL_Set Gamma(3)
LikePages

SDL_!SetGamma

SDL_!SetGamma

NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO


NAME

SDL_!SetGamma- Sets the color gamma function for the display

SYNOPSIS

#include

int SDL_!SetGamma(float redgamma, float greengamma, float bluegamma);

DESCRIPTION

Sets the

This function adjusts the gamma based on the SDL_!SetGammaRamp''.

Not all display hardware is able to change gamma.

RETURN VALUE

Returns -1 on error (or if gamma adjustment is not supported).

SEE ALSO

SDL_!GetGammaRamp SDL_!SetGammaRamp


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.