Penguin
Note: You are viewing an old revision of this page. View the current version.

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.