missed this one

This commit is contained in:
Bill Currie 2001-08-22 05:44:04 +00:00
parent e9ec5f867f
commit 4a9567cb8d

View file

@ -268,5 +268,8 @@ VID_SetCaption (const char *text)
qboolean qboolean
VID_SetGamma (double gamma) VID_SetGamma (double gamma)
{ {
#if SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_PATCHLEVEL) \
>= SDL_VERSIONNUM(1,1,5)
return SDL_SetGamma((float) gamma, (float) gamma, (float) gamma); return SDL_SetGamma((float) gamma, (float) gamma, (float) gamma);
#endif
} }