From 17afc800c9b69997ae7ba52b67c021f68066e008 Mon Sep 17 00:00:00 2001 From: George Nassas Date: Thu, 6 Dec 2007 10:11:05 +0100 Subject: 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/glxclient.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glx/x11/glxclient.h') 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; -- cgit v1.2.3