docs/man3/SDL_SetGamma.3
changeset 3352 6dc250ebdd80
parent 3351 8e0182c236d8
child 3353 6b14223dd5c7
     1.1 --- a/docs/man3/SDL_SetGamma.3	Wed Oct 07 06:11:53 2009 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,22 +0,0 @@
     1.4 -.TH "SDL_SetGamma" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
     1.5 -.SH "NAME"
     1.6 -SDL_SetGamma \- Sets the color gamma function for the display
     1.7 -.SH "SYNOPSIS"
     1.8 -.PP
     1.9 -\fB#include "SDL\&.h"
    1.10 -.sp
    1.11 -\fBint \fBSDL_SetGamma\fP\fR(\fBfloat redgamma, float greengamma, float bluegamma\fR);
    1.12 -.SH "DESCRIPTION"
    1.13 -.PP
    1.14 -Sets the "gamma function" for the display of each color component\&. Gamma controls the brightness/contrast of colors displayed on the screen\&. A gamma value of 1\&.0 is identity (i\&.e\&., no adjustment is made)\&.
    1.15 -.PP
    1.16 -This function adjusts the gamma based on the "gamma function" parameter, you can directly specify lookup tables for gamma adjustment with \fISDL_SetGammaRamp\fR\&.
    1.17 -.PP
    1.18 -Not all display hardware is able to change gamma\&.
    1.19 -.SH "RETURN VALUE"
    1.20 -.PP
    1.21 -Returns -1 on error (or if gamma adjustment is not supported)\&.
    1.22 -.SH "SEE ALSO"
    1.23 -.PP
    1.24 -\fISDL_GetGammaRamp\fR \fISDL_SetGammaRamp\fR
    1.25 -...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01