# HG changeset patch # User Sam Lantinga # Date 1140900506 0 # Node ID 0801c9fdbdd6aeb1446fbf1e2f43e7c1d5e422bb # Parent 8a1c27aacfe375d592574f0369b1d1c12ee2dea1 *** empty log message *** diff -r 8a1c27aacfe3 -r 0801c9fdbdd6 src/video/maccommon/SDL_lowvideo.h --- a/src/video/maccommon/SDL_lowvideo.h Sat Feb 25 20:47:42 2006 +0000 +++ b/src/video/maccommon/SDL_lowvideo.h Sat Feb 25 20:48:26 2006 +0000 @@ -36,13 +36,7 @@ #endif #if SDL_VIDEO_OPENGL -#ifdef MACOSX -#include /* OpenGL.framework */ -#include /* AGL.framework */ -#else -#include -#include -#endif /* MACOSX */ +typedef struct __AGLContextRec *AGLContext; #endif #include "SDL_video.h" diff -r 8a1c27aacfe3 -r 0801c9fdbdd6 src/video/maccommon/SDL_macgl_c.h --- a/src/video/maccommon/SDL_macgl_c.h Sat Feb 25 20:47:42 2006 +0000 +++ b/src/video/maccommon/SDL_macgl_c.h Sat Feb 25 20:48:26 2006 +0000 @@ -25,14 +25,13 @@ #include "SDL_config.h" #if SDL_VIDEO_OPENGL +#include "SDL_opengl.h" #ifdef MACOSX -#include /* OpenGL.framework */ #include /* AGL.framework */ #else -#include #include -#endif /* MACOSX */ #endif +#endif /* SDL_VIDEO_OPENGL */ /* OpenGL functions */ extern int Mac_GL_Init(_THIS);