[SDL] OpenGL Textures
adam at preston.net
Sun Aug 12 21:06:01 PDT 2001
I get the feeling these posts are being ignored. Can anyone tell me why
this might be happening. Have I annoyed someone?
Dominique Louis wrote:
> Hi All,
> Someone on the JEDI-SDL mailing list posted the following question,
> and as I am not familiar with SDL's internals I said I would refer it to
> this newsgroup...
> Does SDL Load the OpenGL library twice.
> - SDL.dll loads and binds itself to OpenGL12.dll
> - SDL.dll performs the initializations
> - OpenGL12.pas loads and binds itself to OpenGL12.dll
> - program uses bindings in OpenGL12.pas
> The "OpenGL12.dll" will be the same DLL, and Windows
> won't load it twice, but if hardware acceleration is used, the
> real functions used will be those of nvOpenGL.dll (f.i.),
> I'm just wondering if there won't be circumstanced in which
> SDL's OpenGL12.dll won't be the same as the one loaded
> by OpenGL12.pas.
> This being asserted by the fact that SDL offers a function to
> dynamically bind to the OpenGL function... So when using
> SDL, it *might* be better to use the SDL's GetProcAddress
> function instead of the API's GetProcAddress function
> used in OpenGL12.pas (though they may be the same thing
> in the current implementation).
> Not sure if this explanation is clearer ; )
> Any insight into this would be greatly appreciated.
More information about the SDL