Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix cross-nightly manual

This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.

SDL_GetGamma(3) SDL API Reference SDL_GetGamma(3)

NAME

SDL_GetGamma - Gets the gamma of the display

SYNOPSIS

#include "SDL.h"
 
int SDL_GetGamma(float *red, float *green, float *blue);

DESCRIPTION

Gets the color gamma of the display. The gamma value for each color component will be place in the parameters red, green and blue. The values can range from 0.1 to 10.
Note:
This function currently only works on XFreee 4.0 and up.

SEE ALSO

SDL_SetGamma, SDL_SetVideoMode
Tue 11 Sep 2001, 23:01 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org