From b0f80254340222829b659df7a77ad6de410cd737 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sun, 9 Mar 2008 19:02:56 -0400 Subject: [PATCH] Properly revert the libGL loader path breakage. --- src/glx/x11/dri_glx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c index 6c915d800e0..0d4f09c4994 100644 --- a/src/glx/x11/dri_glx.c +++ b/src/glx/x11/dri_glx.c @@ -145,6 +145,7 @@ static void *OpenDriver(const char *driverName) /* Attempt to make sure libGL symbols will be visible to the driver */ glhandle = dlopen("libGL.so.1", RTLD_NOW | RTLD_GLOBAL); + libPaths = NULL; if (geteuid() == getuid()) { /* don't allow setuid apps to use LIBGL_DRIVERS_PATH */ libPaths = getenv("LIBGL_DRIVERS_PATH"); -- 2.30.2