~armagetronad-ct/armagetronad/os-x-toolkit-sdl2

« back to all changes in this revision

Viewing changes to patches/sdl.diff

  • Committer: Daniel Lee Harple
  • Date: 2013-10-28 19:47:15 UTC
  • Revision ID: leeharple@gmail.com-20131028194715-ir8z0aw0eyrj2pbu
Apply patch to fix X11 issues with SDL headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- Headers/SDL_config_macosx.h 2013-10-27 14:27:20.000000000 -0400
 
2
+++ Headers/SDL_config_macosx.h 2013-03-05 14:34:57.000000000 -0500
 
3
@@ -122,10 +122,10 @@
 
4
 #define SDL_VIDEO_DRIVER_QUARTZ        1
 
5
 #endif
 
6
 #define SDL_VIDEO_DRIVER_DGA 1
 
7
-#define SDL_VIDEO_DRIVER_X11 1
 
8
+// #define SDL_VIDEO_DRIVER_X11 1
 
9
 #define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
 
10
-#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
 
11
-#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
 
12
+// #define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
 
13
+// #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
 
14
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
 
15
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER "/usr/X11R6/lib/libXrender.1.dylib"
 
16
 #define SDL_VIDEO_DRIVER_X11_VIDMODE 1