Mercurial > sdl-ios-xcode
diff src/video/photon/SDL_ph_gl.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/photon/SDL_ph_gl.h Fri Feb 10 07:29:08 2006 +0000 +++ b/src/video/photon/SDL_ph_gl.h Thu Feb 16 10:11:48 2006 +0000 @@ -27,7 +27,7 @@ #define DEFAULT_OPENGL "/usr/lib/libGL.so" -#ifdef HAVE_OPENGL +#if SDL_VIDEO_OPENGL void ph_GL_SwapBuffers(_THIS); int ph_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value); int ph_GL_LoadLibrary(_THIS, const char* path); @@ -35,6 +35,6 @@ int ph_GL_MakeCurrent(_THIS); int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags); -#endif /* HAVE_OPENGL */ +#endif /* SDL_VIDEO_OPENGL */ #endif /* __SDL_PH_GL_H__ */