Mercurial > sdl-ios-xcode
comparison include/SDL_config_macosx.h @ 5090:455bc74f7034
Fixed bug #1100
Test the video features with #if instead of #ifdef
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 17:38:18 -0800 |
parents | a2cf0174e5ab |
children | e594f07297a9 |
comparison
equal
deleted
inserted
replaced
5089:b4b0e9f1669c | 5090:455bc74f7034 |
---|---|
146 #define SDL_VIDEO_DRIVER_X11_XINPUT 1 | 146 #define SDL_VIDEO_DRIVER_X11_XINPUT 1 |
147 #define SDL_VIDEO_DRIVER_X11_SCRNSAVER 1 | 147 #define SDL_VIDEO_DRIVER_X11_SCRNSAVER 1 |
148 #define SDL_VIDEO_DRIVER_X11_XV 1 | 148 #define SDL_VIDEO_DRIVER_X11_XV 1 |
149 #define SDL_VIDEO_DRIVER_X11_XSHAPE 1 | 149 #define SDL_VIDEO_DRIVER_X11_XSHAPE 1 |
150 | 150 |
151 #ifndef SDL_VIDEO_RENDER_OGL | |
151 #define SDL_VIDEO_RENDER_OGL 1 | 152 #define SDL_VIDEO_RENDER_OGL 1 |
153 #endif | |
154 #ifndef SDL_VIDEO_RENDER_X11 | |
152 #define SDL_VIDEO_RENDER_X11 1 | 155 #define SDL_VIDEO_RENDER_X11 1 |
156 #endif | |
153 | 157 |
154 /* Enable OpenGL support */ | 158 /* Enable OpenGL support */ |
159 #ifndef SDL_VIDEO_OPENGL | |
155 #define SDL_VIDEO_OPENGL 1 | 160 #define SDL_VIDEO_OPENGL 1 |
161 #endif | |
162 #ifndef SDL_VIDEO_OPENGL_CGL | |
156 #define SDL_VIDEO_OPENGL_CGL 1 | 163 #define SDL_VIDEO_OPENGL_CGL 1 |
164 #endif | |
165 #ifndef SDL_VIDEO_OPENGL_GLX | |
157 #define SDL_VIDEO_OPENGL_GLX 1 | 166 #define SDL_VIDEO_OPENGL_GLX 1 |
167 #endif | |
158 | 168 |
159 /* Enable system power support */ | 169 /* Enable system power support */ |
160 #define SDL_POWER_MACOSX 1 | 170 #define SDL_POWER_MACOSX 1 |
161 | 171 |
162 /* Enable assembly routines */ | 172 /* Enable assembly routines */ |