Mercurial > sdl-ios-xcode
comparison src/video/maccommon/SDL_macgl_c.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 |
---|---|
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 /* AGL implementation of SDL OpenGL support */ | 23 /* AGL implementation of SDL OpenGL support */ |
24 | 24 |
25 #include "SDL_config.h" | |
26 | |
25 #if SDL_VIDEO_OPENGL | 27 #if SDL_VIDEO_OPENGL |
26 #ifdef MACOSX | 28 #include "SDL_opengl.h" |
27 #include <OpenGL/gl.h> /* OpenGL.framework */ | 29 #endif |
28 #include <AGL/agl.h> /* AGL.framework */ | |
29 #else | |
30 #include <GL/gl.h> | |
31 #include <agl.h> | |
32 #endif /* MACOSX */ | |
33 #endif /* SDL_VIDEO_OPENGL */ | |
34 | 30 |
35 /* OpenGL functions */ | 31 /* OpenGL functions */ |
36 extern int Mac_GL_Init(_THIS); | 32 extern int Mac_GL_Init(_THIS); |
37 extern void Mac_GL_Quit(_THIS); | 33 extern void Mac_GL_Quit(_THIS); |
38 #if SDL_VIDEO_OPENGL | 34 #if SDL_VIDEO_OPENGL |