Mercurial > sdl-ios-xcode
comparison src/video/maccommon/SDL_macgl_c.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | 259e03cbcb5f |
children |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
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 #include "SDL_opengl.h" |
29 #if __MACOSX__ | 29 #if __MACOSX__ |
30 #include <AGL/agl.h> /* AGL.framework */ | 30 #include <AGL/agl.h> /* AGL.framework */ |
31 #else | 31 #else |
32 #include <agl.h> | 32 #include <agl.h> |
33 #endif | 33 #endif |
34 #endif /* SDL_VIDEO_OPENGL */ | 34 #endif /* SDL_VIDEO_OPENGL */ |
35 | 35 |
36 /* OpenGL functions */ | 36 /* OpenGL functions */ |
37 extern int Mac_GL_Init(_THIS); | 37 extern int Mac_GL_Init(_THIS); |
38 extern void Mac_GL_Quit(_THIS); | 38 extern void Mac_GL_Quit(_THIS); |
39 #if SDL_VIDEO_OPENGL | 39 #if SDL_VIDEO_OPENGL |
40 extern int Mac_GL_MakeCurrent(_THIS); | 40 extern int Mac_GL_MakeCurrent(_THIS); |
41 extern int Mac_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value); | 41 extern int Mac_GL_GetAttribute(_THIS, SDL_GLattr attrib, int *value); |
42 extern void Mac_GL_SwapBuffers(_THIS); | 42 extern void Mac_GL_SwapBuffers(_THIS); |
43 extern int Mac_GL_LoadLibrary(_THIS, const char *location); | 43 extern int Mac_GL_LoadLibrary(_THIS, const char *location); |
44 extern void Mac_GL_UnloadLibrary(_THIS); | 44 extern void Mac_GL_UnloadLibrary(_THIS); |
45 extern void* Mac_GL_GetProcAddress(_THIS, const char *proc); | 45 extern void *Mac_GL_GetProcAddress(_THIS, const char *proc); |
46 #endif | 46 #endif |
47 | 47 /* vi: set ts=4 sw=4 expandtab: */ |