diff options
author | George Nassas <gnassas@gmail.com> | 2007-12-06 10:11:05 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-12-06 10:11:05 +0100 |
commit | 17afc800c9b69997ae7ba52b67c021f68066e008 (patch) | |
tree | 055aeaddd779a023ca818975621fdbe9edfaed16 /src/glx/x11/glxclient.h | |
parent | 125bd4cae51c6deaacd2e90f14931c2052f146ab (diff) |
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 .
Diffstat (limited to 'src/glx/x11/glxclient.h')
-rw-r--r-- | src/glx/x11/glxclient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h index 05354073c4..7054f3cc31 100644 --- a/src/glx/x11/glxclient.h +++ b/src/glx/x11/glxclient.h @@ -117,6 +117,7 @@ struct __DRIdisplayRec { */ struct __DRIdriverRec { const char *name; + const char *libpath; void *handle; PFNCREATENEWSCREENFUNC createNewScreenFunc; struct __DRIdriverRec *next; |