SDL_GL_LoadLibrary and SDL_GL_GetProcAddress

Can these two functions be used to load other libraries and functions at
run-time in a platform-independent way or can they ONLY be used for OpenGL
libraries?

Thanks!–

Olivier A. Dagenais - Software Architect and Developer

Can these two functions be used to load other libraries and functions at
run-time in a platform-independent way or can they ONLY be used for OpenGL
libraries?

They can only be used for OpenGL libraries.
SDL 1.3 may introduce a more general library loading mechanism.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Just a wish for 1.3:

I think it would be great to be able to dynamic load an OpenAL library
just like OpenGL using the same way SDL_GL_GetProcAddress does and be able
to drop to standard SDL sound if openal does not exist on a system.
Sam, please add SDL_AL_LoadLibrary and SDL_AL_GetProcAddress :))))On Sun, 18 Mar 2001, Sam Lantinga wrote:

Can these two functions be used to load other libraries and functions at
run-time in a platform-independent way or can they ONLY be used for OpenGL
libraries?

They can only be used for OpenGL libraries.
SDL 1.3 may introduce a more general library loading mechanism.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software