Implemented OpenGL support on Mac OS X

The OpenGL renderer works without changes, yay! :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401982
This commit is contained in:
Sam Lantinga 2006-07-25 06:22:42 +00:00
parent 941ef5db91
commit 79452369ef
16 changed files with 528 additions and 214 deletions

View file

@ -55,8 +55,6 @@ extern int WIN_GL_LoadLibrary(_THIS, const char *path);
extern void *WIN_GL_GetProcAddress(_THIS, const char *proc);
extern int WIN_GL_SetupWindow(_THIS, SDL_Window * window);
extern void WIN_GL_CleanupWindow(_THIS, SDL_Window * window);
extern int WIN_GL_GetWindowAttribute(_THIS, SDL_Window * window,
SDL_GLattr attrib, int *value);
extern SDL_GLContext WIN_GL_CreateContext(_THIS, SDL_Window * window);
extern int WIN_GL_MakeCurrent(_THIS, SDL_Window * window,
SDL_GLContext context);