diff src/video/x11/SDL_x11modes.c @ 90:ee1f71c10889

Fix to allow SDL compiled under XFree v4 to work with XFree v3 xservers. Contributed by Jarek Sobieszek
author Sam Lantinga <slouken@lokigames.com>
date Sat, 07 Jul 2001 08:08:42 +0000
parents 71774090f286
children e85e03f195b4
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c	Sat Jul 07 08:03:34 2001 +0000
+++ b/src/video/x11/SDL_x11modes.c	Sat Jul 07 08:08:42 2001 +0000
@@ -271,7 +271,7 @@
         }
         XFree(modes);
 
-        use_vidmode = 1;
+        use_vidmode = vm_major;
         save_mode(this);
     }
 #endif /* XFREE86_VM */