1SDL_GL_LoadLibrary(3)          SDL API Reference         SDL_GL_LoadLibrary(3)
2
3
4

NAME

6       SDL_GL_LoadLibrary - Specify an OpenGL library
7

SYNOPSIS

9       #include "SDL.h"
10
11       int SDL_GL_LoadLibrary(const char *path);
12

DESCRIPTION

14       If  you  wish, you may load the OpenGL library at runtime, this must be
15       done before SDL_SetVideoMode is called. The path of the GL  library  is
16       passed  to  SDL_GL_LoadLibrary and it returns 0 on success, or -1 on an
17       error. You must then use  SDL_GL_GetProcAddress  to  retrieve  function
18       pointers to GL functions.
19

SEE ALSO

21       SDL_GL_GetProcAddress
22
23
24
25SDL                         Tue 11 Sep 2001, 23:01       SDL_GL_LoadLibrary(3)
Impressum