diff src/video/x11/SDL_x11modes.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 8a5aff5c1294
children 24878c14b391
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c	Mon Jul 09 23:26:13 2001 +0000
+++ b/src/video/x11/SDL_x11modes.c	Wed Jul 11 20:18:52 2001 +0000
@@ -271,7 +271,7 @@
         }
         XFree(modes);
 
-        use_vidmode = vm_major;
+        use_vidmode = vm_major * 100 + vm_minor;
         save_mode(this);
     }
 #endif /* XFREE86_VM */