[patch] Use dlsym instead of glXGetProcAddress in xdriinfo
Michel Dänzer
michel at daenzer.net
Tue Nov 22 00:59:29 PST 2005
On Mon, 2005-11-21 at 18:08 -0500, Felix Kühling wrote:
> The attached patches (monolithic and modular) should fix dynamic linking
> problems with xdriinfo, that NVidia users were complaining about.
Does their driver support the DRI configuration infrastructure?
> Their libGL doesn't define glXGetProcAddress but only glXGetProcAddressARB.
> The cleanest solution that works with any libGL is to use dlopen and
> dlsym instead. This has the nice side effect that it removes all
> build-time dependencies on libGL and GLX headers.
Couldn't there be an implementation of the DRI configuration
infrastructure where glXGetProcAddress(ARB) works but dlopen/dlsym
doesn't though?
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
More information about the xorg
mailing list