Mercurial > sdl-ios-xcode
diff src/video/maccommon/SDL_macgl_c.h @ 1361:19418e4422cb
New configure-based build system. Still work in progress, but much improved
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Feb 2006 10:11:48 +0000 |
parents | c9b51268668f |
children | d910939febfa |
line wrap: on
line diff
--- a/src/video/maccommon/SDL_macgl_c.h Fri Feb 10 07:29:08 2006 +0000 +++ b/src/video/maccommon/SDL_macgl_c.h Thu Feb 16 10:11:48 2006 +0000 @@ -22,7 +22,7 @@ /* AGL implementation of SDL OpenGL support */ -#ifdef HAVE_OPENGL +#if SDL_VIDEO_OPENGL #ifdef MACOSX #include <OpenGL/gl.h> /* OpenGL.framework */ #include <AGL/agl.h> /* AGL.framework */ @@ -30,12 +30,12 @@ #include <GL/gl.h> #include <agl.h> #endif /* MACOSX */ -#endif /* HAVE_OPENGL */ +#endif /* SDL_VIDEO_OPENGL */ /* OpenGL functions */ extern int Mac_GL_Init(_THIS); extern void Mac_GL_Quit(_THIS); -#ifdef HAVE_OPENGL +#if SDL_VIDEO_OPENGL extern int Mac_GL_MakeCurrent(_THIS); extern int Mac_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value); extern void Mac_GL_SwapBuffers(_THIS);