From 57e423c4e571e054e5364416cc85d372f148317d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 18 Aug 2002 18:33:02 +0000 Subject: [PATCH] Fixed video crash on older XFree86 servers --- src/video/x11/SDL_x11gamma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11gamma.c b/src/video/x11/SDL_x11gamma.c index 805508f3a..326ce1a64 100644 --- a/src/video/x11/SDL_x11gamma.c +++ b/src/video/x11/SDL_x11gamma.c @@ -98,7 +98,7 @@ int X11_SetVidModeGamma(_THIS, float red, float green, float blue) static int X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) { #ifdef XFREE86_VMGAMMA - if (use_vidmode >= 2) { + if (use_vidmode >= 200) { SDL_NAME(XF86VidModeGamma) gamma; if (SDL_NAME(XF86VidModeGetGamma)(SDL_Display, SDL_Screen, &gamma)) { *red = gamma.red;