#ifndef SDL_BOPENGL_H
#define SDL_BOPENGL_H
#if SDL_VIDEO_DRIVER_HAIKU && SDL_VIDEO_OPENGL
#ifdef __cplusplus
extern "C" {
#endif
#include "../SDL_sysvideo.h"
extern int HAIKU_GL_LoadLibrary(_THIS, const char *path);
extern void *HAIKU_GL_GetProcAddress(_THIS, const char *proc);
extern void HAIKU_GL_UnloadLibrary(_THIS);
extern int HAIKU_GL_MakeCurrent(_THIS, SDL_Window * window,
SDL_GLContext context);
extern int HAIKU_GL_SetSwapInterval(_THIS, int interval);
extern int HAIKU_GL_GetSwapInterval(_THIS);
extern int HAIKU_GL_SwapWindow(_THIS, SDL_Window * window);
extern SDL_GLContext HAIKU_GL_CreateContext(_THIS, SDL_Window * window);
extern void HAIKU_GL_DeleteContext(_THIS, SDL_GLContext context);
extern void HAIKU_GL_RebootContexts(_THIS);
#ifdef __cplusplus
}
#endif
#endif
#endif