[OPENGL] Test program for dynamic loading of OpenGL library

Hello,

I would like to know if someone could make a very small testdyngl for SDL,
to show how to dynamically load an OpenGL library to use for SDL. I would
like to know where the loading take place (before/after SDL_SetVideoMode()
? automatically done if binary linked to it ?). I think it would be of
interest for other people too.–
Patrice Mandin
WWW: http://membres.lycos.fr/pmandin/
Programmeur Linux, Atari
Sp?cialit?: D?veloppement, jeux

Patrice Mandin wrote:

Hello,

I would like to know if someone could make a very small testdyngl for SDL,
to show how to dynamically load an OpenGL library to use for SDL. I would
like to know where the loading take place (before/after SDL_SetVideoMode()
? automatically done if binary linked to it ?). I think it would be of
interest for other people too.

I made a small program to test issues with dynamic opengl function
loading. It’s there :
http://icps.u-strasbg.fr/~marchesin/sdl/testdyngl.c

Stephane

Le Mon, 16 Feb 2004 16:48:04 +0100
Stephane Marchesin <stephane.marchesin at wanadoo.fr> a ?crit:

I made a small program to test issues with dynamic opengl function
loading. It’s there :
http://icps.u-strasbg.fr/~marchesin/sdl/testdyngl.c

Thanks. This was exactly what I was looking for. Maybe it should be added
to SDL test programs (if it works on all supported platforms, of course).–
Patrice Mandin
WWW: http://membres.lycos.fr/pmandin/
Programmeur Linux, Atari
Sp?cialit?: D?veloppement, jeux