comparison include/SDL_video.h @ 665:d27aab66c5d6

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 06 Aug 2003 20:12:00 +0000
parents 864e2d2a9a55
children b8d311d90021
comparison
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.