Mercurial > sdl-ios-xcode
comparison src/video/maccommon/SDL_lowvideo.h @ 1402:d910939febfa
Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Feb 2006 08:46:50 +0000 |
parents | 19418e4422cb |
children | 7a610f25c12f |
comparison
equal
deleted
inserted
replaced
1401:1819fd069e89 | 1402:d910939febfa |
---|---|
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 #include "SDL_config.h" | |
22 | 23 |
23 #ifndef _SDL_lowvideo_h | 24 #ifndef _SDL_lowvideo_h |
24 #define _SDL_lowvideo_h | 25 #define _SDL_lowvideo_h |
25 | 26 |
26 #if defined(__APPLE__) && defined(__MACH__) | 27 #if defined(__APPLE__) && defined(__MACH__) |
33 #include <Menus.h> | 34 #include <Menus.h> |
34 #include <DrawSprocket.h> | 35 #include <DrawSprocket.h> |
35 #endif | 36 #endif |
36 | 37 |
37 #if SDL_VIDEO_OPENGL | 38 #if SDL_VIDEO_OPENGL |
38 #ifdef MACOSX | 39 #include "SDL_opengl.h" |
39 #include <OpenGL/gl.h> /* OpenGL.framework */ | 40 #endif |
40 #include <AGL/agl.h> /* AGL.framework */ | |
41 #else | |
42 #include <GL/gl.h> | |
43 #include <agl.h> | |
44 #endif /* MACOSX */ | |
45 #endif /* SDL_VIDEO_OPENGL */ | |
46 | 41 |
47 #include "SDL_video.h" | 42 #include "SDL_video.h" |
48 #include "../SDL_sysvideo.h" | 43 #include "../SDL_sysvideo.h" |
49 | 44 |
50 /* Hidden "this" pointer for the video functions */ | 45 /* Hidden "this" pointer for the video functions */ |