diff src/video/x11/SDL_x11gamma.c @ 100:a1c973c35fef

Fixed using the video mode extension on older servers
author Sam Lantinga <slouken@lokigames.com>
date Wed, 11 Jul 2001 20:18:52 +0000
parents ee1f71c10889
children 678e3ed01019
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gamma.c	Mon Jul 09 23:26:13 2001 +0000
+++ b/src/video/x11/SDL_x11gamma.c	Wed Jul 11 20:18:52 2001 +0000
@@ -37,7 +37,7 @@
 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue)
 {
 #ifdef XFREE86_VMGAMMA
-    if (use_vidmode >= 2) {
+    if (use_vidmode >= 200) {
         XF86VidModeGamma gamma;
         Bool succeeded;