Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/video/maccommon/SDL_macgl_c.h Tue Feb 21 08:34:45 2006 +0000 +++ b/src/video/maccommon/SDL_macgl_c.h Tue Feb 21 08:46:50 2006 +0000 @@ -22,15 +22,11 @@ /* AGL implementation of SDL OpenGL support */ +#include "SDL_config.h" + #if SDL_VIDEO_OPENGL -#ifdef MACOSX -#include <OpenGL/gl.h> /* OpenGL.framework */ -#include <AGL/agl.h> /* AGL.framework */ -#else -#include <GL/gl.h> -#include <agl.h> -#endif /* MACOSX */ -#endif /* SDL_VIDEO_OPENGL */ +#include "SDL_opengl.h" +#endif /* OpenGL functions */ extern int Mac_GL_Init(_THIS);