changeset 1432:0801c9fdbdd6

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 25 Feb 2006 20:48:26 +0000
parents 8a1c27aacfe3
children bb6839704ed6
files src/video/maccommon/SDL_lowvideo.h src/video/maccommon/SDL_macgl_c.h
diffstat 2 files changed, 3 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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);