Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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