include/SDL_pixels.h
changeset 5466 006883d5fa51
parent 5438 b705640cb34a
child 5535 96594ac5fd1a
     1.1 --- a/include/SDL_pixels.h	Thu Mar 10 01:03:43 2011 -0800
     1.2 +++ b/include/SDL_pixels.h	Fri Mar 11 08:49:20 2011 -0800
     1.3 @@ -405,6 +405,12 @@
     1.4                                           Uint8 * r, Uint8 * g, Uint8 * b,
     1.5                                           Uint8 * a);
     1.6  
     1.7 +/**
     1.8 + *  \brief Calculate a 256 entry gamma ramp for a gamma value.
     1.9 + */
    1.10 +extern DECLSPEC void SDLCALL SDL_CalculateGammaRamp(float gamma, Uint16 * ramp);
    1.11 +
    1.12 +
    1.13  /* Ends C function definitions when using C++ */
    1.14  #ifdef __cplusplus
    1.15  /* *INDENT-OFF* */