Query: sdl_gl_loadlibrary
OS: opensolaris
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SDL_GL_LoadLibrary(3) SDL API Reference SDL_GL_LoadLibrary(3)NAMESDL_GL_LoadLibrary - Specify an OpenGL librarySYNOPSIS#include "SDL.h" int SDL_GL_LoadLibrary(const char *path);DESCRIPTIONIf you wish, you may load the OpenGL library at runtime, this must be done before SDL_SetVideoMode is called. The path of the GL library is passed to SDL_GL_LoadLibrary and it returns 0 on success, or -1 on an error. You must then use SDL_GL_GetProcAddress to retrieve function pointers to GL functions.SEE ALSOSDL_GL_GetProcAddressSDLTue 11 Sep 2001, 23:01 SDL_GL_LoadLibrary(3)