Trying to get a symbol for glDrawRangeElements in win32 using
SDL_GL_GetProcAddress causes a segfault. The reasonthis happens we have
no ideas about. Here’s the code in question:
if (!(qglDrawRangeElements = SDL_GL_GetProcAddress (glDrawRangeElements)))
{
DGL_SetError (va(“DGL_GetFuncs: can’t find %s”, glDrawRangeElements));
return false;
}
Works fine for us in Linux, but it sure breaks win32!–
Joseph Carter Free software developer
Internet censorship. Because your children need to be
protected from naked women, medical procedures, diverse
cultures, and violent video games.
(but information on building bombs, stealing cable, and
manufacturing drugs is okay…)
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20011116/90d9d080/attachment.pgp
slouken
November 17, 2001, 12:09pm
2
Trying to get a symbol for glDrawRangeElements in win32 using
SDL_GL_GetProcAddress causes a segfault.
Are you dynamically loading the OpenGL library?
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Yes, we are.
-EvilTypeGuyOn Sat, Nov 17, 2001 at 12:08:49PM -0800, Sam Lantinga wrote:
Trying to get a symbol for glDrawRangeElements in win32 using
SDL_GL_GetProcAddress causes a segfault.
Are you dynamically loading the OpenGL library?
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Yes.On Sat, Nov 17, 2001 at 12:08:49PM -0800, Sam Lantinga wrote:
Trying to get a symbol for glDrawRangeElements in win32 using
SDL_GL_GetProcAddress causes a segfault.
Are you dynamically loading the OpenGL library?
–
Joseph Carter Free software developer
Caveats: it’s GNOME, be afraid, be very afraid of the Depends line
– James Troup
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20011117/321036ef/attachment.pgp