diff options
author | Kristian Høgsberg <[email protected]> | 2008-03-09 19:02:56 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2008-03-09 19:02:56 -0400 |
commit | b0f80254340222829b659df7a77ad6de410cd737 (patch) | |
tree | 0744af5e4c995e6813719aad671bd5921b6ee44f /src/glx/x11 | |
parent | 03db9c8acb83f7072681876ce5e8d73e1ec922e9 (diff) |
Properly revert the libGL loader path breakage.
Diffstat (limited to 'src/glx/x11')
-rw-r--r-- | src/glx/x11/dri_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |