Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11modes.c @ 1262:09164d2b8373
Hopefully the X servers have been fixed (in 5 years) :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 25 Jan 2006 06:12:57 +0000 |
parents | b81f54c3963f |
children | 0c105755b110 |
comparison
equal
deleted
inserted
replaced
1261:031e093ba2a5 | 1262:09164d2b8373 |
---|---|
322 buggy_X11 = 1; | 322 buggy_X11 = 1; |
323 } | 323 } |
324 fclose(metro_fp); | 324 fclose(metro_fp); |
325 } | 325 } |
326 } | 326 } |
327 #if 0 /* Let's try this again... hopefully X servers have improved... */ | |
327 #if defined(__alpha__) || defined(__sparc64__) || defined(__powerpc__) | 328 #if defined(__alpha__) || defined(__sparc64__) || defined(__powerpc__) |
328 /* The alpha, sparc64 and PPC XFree86 servers are also buggy */ | 329 /* The alpha, sparc64 and PPC XFree86 servers are also buggy */ |
329 buggy_X11 = 1; | 330 buggy_X11 = 1; |
331 #endif | |
330 #endif | 332 #endif |
331 /* Enumerate the available fullscreen modes */ | 333 /* Enumerate the available fullscreen modes */ |
332 if ( ! buggy_X11 ) { | 334 if ( ! buggy_X11 ) { |
333 if ( SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) && | 335 if ( SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) && |
334 SDL_NAME(XF86VidModeQueryVersion)(SDL_Display, &vm_major, &vm_minor) ) { | 336 SDL_NAME(XF86VidModeQueryVersion)(SDL_Display, &vm_major, &vm_minor) ) { |