Tao.Sdl SDK Documentation

Sdl.SDL_GL_LoadLibrary Method 

Specify an OpenGL library.

[Visual Basic]
Public Shared Function SDL_GL_LoadLibrary( _
   ByVal path As String _
) As Integer
[C#]
public static int SDL_GL_LoadLibrary(
   string path
);

Parameters

path

Return Value

Returns 0 on success, or -1 on an error.

Remarks

If 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.

Binds to C-function call in SDL_video.h:

int SDL_GL_LoadLibrary(const char *path);
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_GL_GetProcAddress