projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
805f05c
)
loader: Correct layer path lookup name
author
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Thu, 19 Feb 2015 03:03:02 +0000
(20:03 -0700)
committer
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Thu, 19 Feb 2015 03:03:02 +0000
(20:03 -0700)
loader/loader.c
patch
|
blob
|
history
diff --git
a/loader/loader.c
b/loader/loader.c
index
3db03e6
..
cbfd66e
100644
(file)
--- a/
loader/loader.c
+++ b/
loader/loader.c
@@
-522,7
+522,7
@@
static void layer_lib_scan(void)
#else // WIN32
if (geteuid() == getuid()) {
/* Don't allow setuid apps to use the DRIVER_PATH_ENV env var: */
- libPaths = getenv(
DRIVER
_PATH_ENV);
+ libPaths = getenv(
LAYERS
_PATH_ENV);
}
if (libPaths == NULL) {
libPaths = DEFAULT_XGL_LAYERS_PATH;