Mercurial > sdl-ios-xcode
comparison src/video/SDL_sysvideo.h @ 1936:83946ee0ff1f
Implemented OpenGL support on Mac OS X
The OpenGL renderer works without changes, yay! :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Jul 2006 06:22:42 +0000 |
parents | 103c6fec2a60 |
children | bf09d535e014 |
comparison
equal
deleted
inserted
replaced
1935:8a9b367a80f3 | 1936:83946ee0ff1f |
---|---|
230 /* * * */ | 230 /* * * */ |
231 /* OpenGL support | 231 /* OpenGL support |
232 */ | 232 */ |
233 int (*GL_LoadLibrary) (_THIS, const char *path); | 233 int (*GL_LoadLibrary) (_THIS, const char *path); |
234 void *(*GL_GetProcAddress) (_THIS, const char *proc); | 234 void *(*GL_GetProcAddress) (_THIS, const char *proc); |
235 int (*GL_GetWindowAttribute) (_THIS, SDL_Window * window, | |
236 SDL_GLattr attrib, int *value); | |
237 SDL_GLContext(*GL_CreateContext) (_THIS, SDL_Window * window); | 235 SDL_GLContext(*GL_CreateContext) (_THIS, SDL_Window * window); |
238 int (*GL_MakeCurrent) (_THIS, SDL_Window * window, SDL_GLContext context); | 236 int (*GL_MakeCurrent) (_THIS, SDL_Window * window, SDL_GLContext context); |
239 int (*GL_SetSwapInterval) (_THIS, int interval); | 237 int (*GL_SetSwapInterval) (_THIS, int interval); |
240 int (*GL_GetSwapInterval) (_THIS); | 238 int (*GL_GetSwapInterval) (_THIS); |
241 void (*GL_SwapWindow) (_THIS, SDL_Window * window); | 239 void (*GL_SwapWindow) (_THIS, SDL_Window * window); |