include/SDL_video.h
changeset 665 d27aab66c5d6
parent 656 864e2d2a9a55
child 769 b8d311d90021
equal deleted inserted replaced
664:abfdc08eb289 665:d27aab66c5d6
   394  * You may pass NULL for any of the channels to leave it unchanged.
   394  * You may pass NULL for any of the channels to leave it unchanged.
   395  * If the call succeeds, it will return 0.  If the display driver or
   395  * If the call succeeds, it will return 0.  If the display driver or
   396  * hardware does not support gamma translation, or otherwise fails,
   396  * hardware does not support gamma translation, or otherwise fails,
   397  * this function will return -1.
   397  * this function will return -1.
   398  */
   398  */
   399 extern DECLSPEC int SDLCALL SDL_SetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue);
   399 extern DECLSPEC int SDLCALL SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue);
   400 
   400 
   401 /*
   401 /*
   402  * Retrieve the current values of the gamma translation tables.
   402  * Retrieve the current values of the gamma translation tables.
   403  * 
   403  * 
   404  * You must pass in valid pointers to arrays of 256 16-bit quantities.
   404  * You must pass in valid pointers to arrays of 256 16-bit quantities.