Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11modes.c @ 607:f8710950cddc
Date: Sat, 1 Mar 2003 16:13:57 -0500
From: Wilbern Cobb
Subject: OpenBSD/sparc64 video init fix
This patch fixes remote X sessions on OpenBSD/sparc64.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 06 Mar 2003 06:22:33 +0000 |
parents | 31d3af76488b |
children | 0b4c3f5ff63d |
comparison
equal
deleted
inserted
replaced
606:84d043703e77 | 607:f8710950cddc |
---|---|
308 buggy_X11 = 1; | 308 buggy_X11 = 1; |
309 } | 309 } |
310 fclose(metro_fp); | 310 fclose(metro_fp); |
311 } | 311 } |
312 } | 312 } |
313 #if defined(__alpha__) || defined(__powerpc__) | 313 #if defined(__alpha__) || defined(__sparc64__) || defined(__powerpc__) |
314 /* The alpha and PPC XFree86 servers are also buggy */ | 314 /* The alpha, sparc64 and PPC XFree86 servers are also buggy */ |
315 buggy_X11 = 1; | 315 buggy_X11 = 1; |
316 #endif | 316 #endif |
317 /* Enumerate the available fullscreen modes */ | 317 /* Enumerate the available fullscreen modes */ |
318 if ( ! buggy_X11 ) { | 318 if ( ! buggy_X11 ) { |
319 if ( SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) && | 319 if ( SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) && |