Commit 83090323 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401436
parent 34802f06
...@@ -36,13 +36,7 @@ ...@@ -36,13 +36,7 @@
#endif #endif
#if SDL_VIDEO_OPENGL #if SDL_VIDEO_OPENGL
#ifdef MACOSX typedef struct __AGLContextRec *AGLContext;
#include <OpenGL/gl.h> /* OpenGL.framework */
#include <AGL/agl.h> /* AGL.framework */
#else
#include <gl.h>
#include <agl.h>
#endif /* MACOSX */
#endif #endif
#include "SDL_video.h" #include "SDL_video.h"
......
...@@ -25,14 +25,13 @@ ...@@ -25,14 +25,13 @@
#include "SDL_config.h" #include "SDL_config.h"
#if SDL_VIDEO_OPENGL #if SDL_VIDEO_OPENGL
#include "SDL_opengl.h"
#ifdef MACOSX #ifdef MACOSX
#include <OpenGL/gl.h> /* OpenGL.framework */
#include <AGL/agl.h> /* AGL.framework */ #include <AGL/agl.h> /* AGL.framework */
#else #else
#include <gl.h>
#include <agl.h> #include <agl.h>
#endif /* MACOSX */
#endif #endif
#endif /* SDL_VIDEO_OPENGL */
/* OpenGL functions */ /* OpenGL functions */
extern int Mac_GL_Init(_THIS); extern int Mac_GL_Init(_THIS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment