diff --git a/src/video/SDL_gamma.c b/src/video/SDL_gamma.c index 9c20d148a..b532947d6 100644 --- a/src/video/SDL_gamma.c +++ b/src/video/SDL_gamma.c @@ -151,7 +151,7 @@ int SDL_GetGamma(float *red, float *green, float *blue) return succeeded; } -int SDL_SetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue) +int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) { int succeeded; SDL_VideoDevice *video = current_video;