Always call dlopen in DriverOpen.
authorGeorge Nassas <gnassas@gmail.com>
Thu, 6 Dec 2007 09:11:05 +0000 (10:11 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 6 Dec 2007 09:11:05 +0000 (10:11 +0100)
commit17afc800c9b69997ae7ba52b67c021f68066e008
tree055aeaddd779a023ca818975621fdbe9edfaed16
parent125bd4cae51c6deaacd2e90f14931c2052f146ab
Always call dlopen in DriverOpen.

This increases the reference count for the driver binary, preventing it from
getting unloaded prematurely in driDestroyDisplay. See
https://bugs.freedesktop.org/show_bug.cgi?id=13541 .
src/glx/x11/dri_glx.c
src/glx/x11/glxclient.h