comparison src/video/cybergfx/SDL_cgxgl_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 d910939febfa
children
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
30 #if SDL_VIDEO_OPENGL 30 #if SDL_VIDEO_OPENGL
31 #include <GL/Amigamesa.h> 31 #include <GL/Amigamesa.h>
32 extern void *AmiGetGLProc(const char *proc); 32 extern void *AmiGetGLProc(const char *proc);
33 #endif /* SDL_VIDEO_OPENGL */ 33 #endif /* SDL_VIDEO_OPENGL */
34 34
35 struct SDL_PrivateGLData { 35 struct SDL_PrivateGLData
36 int gl_active; 36 {
37 int gl_active;
37 }; 38 };
38 39
39 /* OpenGL functions */ 40 /* OpenGL functions */
40 extern int CGX_GL_Init(_THIS); 41 extern int CGX_GL_Init(_THIS);
41 extern void CGX_GL_Quit(_THIS); 42 extern void CGX_GL_Quit(_THIS);
42 extern int CGX_GL_Update(_THIS); 43 extern int CGX_GL_Update(_THIS);
43 #if SDL_VIDEO_OPENGL 44 #if SDL_VIDEO_OPENGL
44 extern int CGX_GL_MakeCurrent(_THIS); 45 extern int CGX_GL_MakeCurrent(_THIS);
45 extern int CGX_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value); 46 extern int CGX_GL_GetAttribute(_THIS, SDL_GLattr attrib, int *value);
46 extern void CGX_GL_SwapBuffers(_THIS); 47 extern void CGX_GL_SwapBuffers(_THIS);
47 extern void *CGX_GL_GetProcAddress(_THIS, const char *proc); 48 extern void *CGX_GL_GetProcAddress(_THIS, const char *proc);
48 extern int CGX_GL_LoadLibrary(_THIS, const char *path); 49 extern int CGX_GL_LoadLibrary(_THIS, const char *path);
49 #endif 50 #endif
50 51
51 #undef _THIS 52 #undef _THIS
53 /* vi: set ts=4 sw=4 expandtab: */