[patch] Use dlsym instead of glXGetProcAddress in xdriinfo

Matthias Hopf mhopf at suse.de
Wed Nov 23 05:50:29 PST 2005


On Nov 22, 05 08:36:41 -0700, Brian Paul wrote:
> >>The attached patches (monolithic and modular) should fix dynamic linking
> >>problems with xdriinfo, that NVidia users were complaining about. 
> 
> (referrring to previous message) Why not just use glXGetProcAddressARB 
> instead?

Actually GLX 1.4 states that *no* extensions should be exported
statically, and at least the header files are not allowed to have a
prototype for glXGetProcAddressARB.

IMHO this is broken by design (backwards compatibility), and has
introduced major headaches for some games.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de



More information about the xorg mailing list