using glXGetProcAddressARB

Daniel Skorka skorka at gmx.net
Tue Nov 18 16:01:13 CST 2003


Hi!

I am having trouble with OpenGL under wine (specifically Half-Life). The
problem is some code in $(TOPDIR)/dlls/opengl32/wgl.c. The function 
wglGetProcAddress would like to call glXGetProcAddressARB, but can't,
due to the DLL's initialisation routines, namely process_attach.
process_attach calls glxQueryExtensionsString, and expects to find
"GLX_ARB_get_proc_address" in the returned string. However, it does not
find this string on my libGL and so deems that glXGetProcAddressARB is
not available. The problem is that glXGetProcAddress is available and
working.

The question I'm asking me now is:
Is it a bug in my libGL because it is returning a wrong string, or
is it a bug in wine because it is expecting something it shouldn't
(there's a configure check for glXGetProcAddress as well)?

I'm running Debian 3.0r1 with an libGL built (not by me), from the
dri-mach64 CVS and using the wine CVS source.

Thank you for your help with this,

Daniel



More information about the wine-devel mailing list