diff src/video/maccommon/SDL_macgl_c.h @ 1424:7a610f25c12f

Updated MacOS Classic MPW build
author Sam Lantinga <slouken@libsdl.org>
date Fri, 24 Feb 2006 09:57:14 +0000
parents d910939febfa
children 0801c9fdbdd6
line wrap: on
line diff
--- a/src/video/maccommon/SDL_macgl_c.h	Fri Feb 24 08:17:28 2006 +0000
+++ b/src/video/maccommon/SDL_macgl_c.h	Fri Feb 24 09:57:14 2006 +0000
@@ -25,7 +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
 
 /* OpenGL functions */