projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03db9c8
)
Properly revert the libGL loader path breakage.
author
Kristian Høgsberg
<krh@redhat.com>
Sun, 9 Mar 2008 23:02:56 +0000
(19:02 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Sun, 9 Mar 2008 23:02:56 +0000
(19:02 -0400)
src/glx/x11/dri_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/dri_glx.c
b/src/glx/x11/dri_glx.c
index 6c915d800e0a5d9d3d718336a61f1ecb07afdc43..0d4f09c4994ebede1430df07f0334abc412d4370 100644
(file)
--- 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");