mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
nor does it seem to have gamma support
This commit is contained in:
parent
015fe8071a
commit
3fc566a7ee
1 changed files with 6 additions and 1 deletions
|
@ -78,7 +78,9 @@ void
|
|||
VID_SDL_GammaCheck (void)
|
||||
{
|
||||
#if SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_PATCHLEVEL) \
|
||||
> SDL_VERSIONNUM(1,1,5)
|
||||
>= SDL_VERSIONNUM(1,1,5)
|
||||
#if SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_PATCHLEVEL) \
|
||||
>= SDL_VERSIONNUM(1,1,6)
|
||||
Uint16 redtable[256], greentable[256], bluetable[256];
|
||||
#else
|
||||
Uint8 redtable[256], greentable[256], bluetable[256];
|
||||
|
@ -88,6 +90,9 @@ VID_SDL_GammaCheck (void)
|
|||
vid_gamma_avail = false;
|
||||
else
|
||||
vid_gamma_avail = true;
|
||||
#else
|
||||
vid_gamma_avail = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue