*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Sat, 25 Feb 2006 20:48:26 +0000
changeset 1432 0801c9fdbdd6
parent 1431 8a1c27aacfe3
child 1433 bb6839704ed6
*** empty log message ***
src/video/maccommon/SDL_lowvideo.h
src/video/maccommon/SDL_macgl_c.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/gl.h> /* OpenGL.framework */
-#include <AGL/agl.h>   /* AGL.framework */
-#else
-#include <gl.h>
-#include <agl.h>
-#endif /* MACOSX */
+typedef struct __AGLContextRec *AGLContext;
 #endif
 
 #include "SDL_video.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/gl.h> /* OpenGL.framework */
 #include <AGL/agl.h>   /* AGL.framework */
 #else
-#include <gl.h>
 #include <agl.h>
-#endif /* MACOSX */
 #endif
+#endif /* SDL_VIDEO_OPENGL */
 
 /* OpenGL functions */
 extern int Mac_GL_Init(_THIS);