include/SDL_pixels.h
changeset 5466 006883d5fa51
parent 5438 b705640cb34a
child 5535 96594ac5fd1a
equal deleted inserted replaced
5465:46bd121b04a2 5466:006883d5fa51
   403 extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel,
   403 extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel,
   404                                          const SDL_PixelFormat * format,
   404                                          const SDL_PixelFormat * format,
   405                                          Uint8 * r, Uint8 * g, Uint8 * b,
   405                                          Uint8 * r, Uint8 * g, Uint8 * b,
   406                                          Uint8 * a);
   406                                          Uint8 * a);
   407 
   407 
       
   408 /**
       
   409  *  \brief Calculate a 256 entry gamma ramp for a gamma value.
       
   410  */
       
   411 extern DECLSPEC void SDLCALL SDL_CalculateGammaRamp(float gamma, Uint16 * ramp);
       
   412 
       
   413 
   408 /* Ends C function definitions when using C++ */
   414 /* Ends C function definitions when using C++ */
   409 #ifdef __cplusplus
   415 #ifdef __cplusplus
   410 /* *INDENT-OFF* */
   416 /* *INDENT-OFF* */
   411 }
   417 }
   412 /* *INDENT-ON* */
   418 /* *INDENT-ON* */