src/video/cybergfx/SDL_cgxgl_c.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
    27 
    27 
    28 #define _THIS   SDL_VideoDevice *_this
    28 #define _THIS   SDL_VideoDevice *_this
    29 
    29 
    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 {
    36 {
    37     int gl_active;
    37     int gl_active;
    38 };
    38 };
    39 
    39 
    40 /* OpenGL functions */
    40 /* OpenGL functions */
    41 extern int CGX_GL_Init (_THIS);
    41 extern int CGX_GL_Init(_THIS);
    42 extern void CGX_GL_Quit (_THIS);
    42 extern void CGX_GL_Quit(_THIS);
    43 extern int CGX_GL_Update (_THIS);
    43 extern int CGX_GL_Update(_THIS);
    44 #if SDL_VIDEO_OPENGL
    44 #if SDL_VIDEO_OPENGL
    45 extern int CGX_GL_MakeCurrent (_THIS);
    45 extern int CGX_GL_MakeCurrent(_THIS);
    46 extern int CGX_GL_GetAttribute (_THIS, SDL_GLattr attrib, int *value);
    46 extern int CGX_GL_GetAttribute(_THIS, SDL_GLattr attrib, int *value);
    47 extern void CGX_GL_SwapBuffers (_THIS);
    47 extern void CGX_GL_SwapBuffers(_THIS);
    48 extern void *CGX_GL_GetProcAddress (_THIS, const char *proc);
    48 extern void *CGX_GL_GetProcAddress(_THIS, const char *proc);
    49 extern int CGX_GL_LoadLibrary (_THIS, const char *path);
    49 extern int CGX_GL_LoadLibrary(_THIS, const char *path);
    50 #endif
    50 #endif
    51 
    51 
    52 #undef _THIS
    52 #undef _THIS
    53 /* vi: set ts=4 sw=4 expandtab: */
    53 /* vi: set ts=4 sw=4 expandtab: */