logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetGammaRamp - Gets the color gamma lookup tables for the display

Description

       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.

Name

       SDL_GetGammaRamp - Gets the color gamma lookup tables for the display

Return Value

       Returns -1 on error.

See Also

SDL_SetGammaSDL_SetGammaRamp

SDL                                          Tue 11 Sep 2001, 23:01                          SDL_GetGammaRamp(3)

Synopsis

#include"SDL.h"intSDL_GetGammaRamp(Uint16*redtable,Uint16*greentable,Uint16*bluetable);

See Also