Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32opengl.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 | 83420da906a5 |
children | 420716272158 |
comparison
equal
deleted
inserted
replaced
1935:8a9b367a80f3 | 1936:83946ee0ff1f |
---|---|
53 /* OpenGL functions */ | 53 /* OpenGL functions */ |
54 extern int WIN_GL_LoadLibrary(_THIS, const char *path); | 54 extern int WIN_GL_LoadLibrary(_THIS, const char *path); |
55 extern void *WIN_GL_GetProcAddress(_THIS, const char *proc); | 55 extern void *WIN_GL_GetProcAddress(_THIS, const char *proc); |
56 extern int WIN_GL_SetupWindow(_THIS, SDL_Window * window); | 56 extern int WIN_GL_SetupWindow(_THIS, SDL_Window * window); |
57 extern void WIN_GL_CleanupWindow(_THIS, SDL_Window * window); | 57 extern void WIN_GL_CleanupWindow(_THIS, SDL_Window * window); |
58 extern int WIN_GL_GetWindowAttribute(_THIS, SDL_Window * window, | |
59 SDL_GLattr attrib, int *value); | |
60 extern SDL_GLContext WIN_GL_CreateContext(_THIS, SDL_Window * window); | 58 extern SDL_GLContext WIN_GL_CreateContext(_THIS, SDL_Window * window); |
61 extern int WIN_GL_MakeCurrent(_THIS, SDL_Window * window, | 59 extern int WIN_GL_MakeCurrent(_THIS, SDL_Window * window, |
62 SDL_GLContext context); | 60 SDL_GLContext context); |
63 extern int WIN_GL_SetSwapInterval(_THIS, int interval); | 61 extern int WIN_GL_SetSwapInterval(_THIS, int interval); |
64 extern int WIN_GL_GetSwapInterval(_THIS); | 62 extern int WIN_GL_GetSwapInterval(_THIS); |