Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
89:69b8fac3e1c0 | 90:ee1f71c10889 |
---|---|
269 } | 269 } |
270 SDL_modelist[i] = NULL; | 270 SDL_modelist[i] = NULL; |
271 } | 271 } |
272 XFree(modes); | 272 XFree(modes); |
273 | 273 |
274 use_vidmode = 1; | 274 use_vidmode = vm_major; |
275 save_mode(this); | 275 save_mode(this); |
276 } | 276 } |
277 #endif /* XFREE86_VM */ | 277 #endif /* XFREE86_VM */ |
278 | 278 |
279 { | 279 { |