23 #ifndef _SDL_directfb_opengl_h
24 #define _SDL_directfb_opengl_h
28 #if SDL_DIRECTFB_OPENGL
32 typedef struct _DirectFB_GLContext DirectFB_GLContext;
33 struct _DirectFB_GLContext
36 DirectFB_GLContext *next;
43 extern int DirectFB_GL_Initialize(
_THIS);
44 extern void DirectFB_GL_Shutdown(
_THIS);
46 extern int DirectFB_GL_LoadLibrary(
_THIS,
const char *
path);
47 extern void *DirectFB_GL_GetProcAddress(
_THIS,
const char *proc);
51 extern int DirectFB_GL_SetSwapInterval(
_THIS,
int interval);
52 extern int DirectFB_GL_GetSwapInterval(
_THIS);
57 extern void DirectFB_GL_ReAllocWindowContexts(
_THIS,
SDL_Window * window);
58 extern void DirectFB_GL_DestroyWindowContexts(
_THIS,
SDL_Window * window);
void * SDL_GLContext
An opaque handle to an OpenGL context.
GLsizei const GLchar *const * path