mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
missed this one
This commit is contained in:
parent
e9ec5f867f
commit
4a9567cb8d
1 changed files with 3 additions and 0 deletions
|
@ -268,5 +268,8 @@ VID_SetCaption (const char *text)
|
|||
qboolean
|
||||
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);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue