include/SDL_config_macosx.h
changeset 5088 455bc74f7034
parent 4907 a2cf0174e5ab
child 5137 e594f07297a9
     1.1 --- a/include/SDL_config_macosx.h	Mon Jan 24 16:10:13 2011 -0800
     1.2 +++ b/include/SDL_config_macosx.h	Mon Jan 24 17:38:18 2011 -0800
     1.3 @@ -148,13 +148,23 @@
     1.4  #define SDL_VIDEO_DRIVER_X11_XV 1
     1.5  #define SDL_VIDEO_DRIVER_X11_XSHAPE 1
     1.6  
     1.7 +#ifndef SDL_VIDEO_RENDER_OGL
     1.8  #define SDL_VIDEO_RENDER_OGL	1
     1.9 +#endif
    1.10 +#ifndef SDL_VIDEO_RENDER_X11
    1.11  #define SDL_VIDEO_RENDER_X11	1
    1.12 +#endif
    1.13  
    1.14  /* Enable OpenGL support */
    1.15 +#ifndef SDL_VIDEO_OPENGL
    1.16  #define SDL_VIDEO_OPENGL	1
    1.17 +#endif
    1.18 +#ifndef SDL_VIDEO_OPENGL_CGL
    1.19  #define SDL_VIDEO_OPENGL_CGL	1
    1.20 +#endif
    1.21 +#ifndef SDL_VIDEO_OPENGL_GLX
    1.22  #define SDL_VIDEO_OPENGL_GLX	1
    1.23 +#endif
    1.24  
    1.25  /* Enable system power support */
    1.26  #define SDL_POWER_MACOSX 1