Followup

“Chemic” <@Chemic> skrev i meddelandet
news:8p3gsf$ess$1 at ftp.lokigames.com

Can anyone help me with the code that specifies which driver to use for
opengl in w32 ( source example is appreciated). How do I load for example
opengl32.dll in the current directory? I understand that this is the
function
SDL_GL_LoadLibrary(const char *path)
anyway I hope that.
I do not intend this for dynamic loading, the program loads the wrong
graphic card as deafult. So I need to specify which driver to load at the
start.
Grateful for any help

Chemic

“Chemic” skrev i meddelandet
news:8p3gsf$ess$1 at ftp.lokigames.com

Can anyone help me with the code that specifies which driver to use for
opengl in w32 ( source example is appreciated). How do I load for example
opengl32.dll in the current directory? I understand that this is the
function
SDL_GL_LoadLibrary(const char *path)
anyway I hope that.
I do not intend this for dynamic loading, the program loads the wrong
graphic card as deafult. So I need to specify which driver to load at the
start.
Grateful for any help

It’s just:
SDL_GL_LoadLibrary(“opengl32.dll”);

This is actually what SDL loads internally by default, so using that may
not help you at all.

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