Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1423:4ed717f9e509 | 1424:7a610f25c12f |
---|---|
23 /* AGL implementation of SDL OpenGL support */ | 23 /* AGL implementation of SDL OpenGL support */ |
24 | 24 |
25 #include "SDL_config.h" | 25 #include "SDL_config.h" |
26 | 26 |
27 #if SDL_VIDEO_OPENGL | 27 #if SDL_VIDEO_OPENGL |
28 #include "SDL_opengl.h" | 28 #ifdef MACOSX |
29 #include <OpenGL/gl.h> /* OpenGL.framework */ | |
30 #include <AGL/agl.h> /* AGL.framework */ | |
31 #else | |
32 #include <gl.h> | |
33 #include <agl.h> | |
34 #endif /* MACOSX */ | |
29 #endif | 35 #endif |
30 | 36 |
31 /* OpenGL functions */ | 37 /* OpenGL functions */ |
32 extern int Mac_GL_Init(_THIS); | 38 extern int Mac_GL_Init(_THIS); |
33 extern void Mac_GL_Quit(_THIS); | 39 extern void Mac_GL_Quit(_THIS); |