Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1360:70a9cfb4cf1b | 1361:19418e4422cb |
---|---|
25 | 25 |
26 #include "SDL_ph_video.h" | 26 #include "SDL_ph_video.h" |
27 | 27 |
28 #define DEFAULT_OPENGL "/usr/lib/libGL.so" | 28 #define DEFAULT_OPENGL "/usr/lib/libGL.so" |
29 | 29 |
30 #ifdef HAVE_OPENGL | 30 #if SDL_VIDEO_OPENGL |
31 void ph_GL_SwapBuffers(_THIS); | 31 void ph_GL_SwapBuffers(_THIS); |
32 int ph_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value); | 32 int ph_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value); |
33 int ph_GL_LoadLibrary(_THIS, const char* path); | 33 int ph_GL_LoadLibrary(_THIS, const char* path); |
34 void* ph_GL_GetProcAddress(_THIS, const char* proc); | 34 void* ph_GL_GetProcAddress(_THIS, const char* proc); |
35 int ph_GL_MakeCurrent(_THIS); | 35 int ph_GL_MakeCurrent(_THIS); |
36 | 36 |
37 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags); | 37 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags); |
38 #endif /* HAVE_OPENGL */ | 38 #endif /* SDL_VIDEO_OPENGL */ |
39 | 39 |
40 #endif /* __SDL_PH_GL_H__ */ | 40 #endif /* __SDL_PH_GL_H__ */ |