diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-18 20:03:02 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-18 20:03:02 -0700 |
| commit | 955f61e264ce33a7aedc2bd6762ed255cb545e38 (patch) | |
| tree | 98f77f42940dee896ec3f00e6657c9ceae29c0a3 /loader/loader.c | |
| parent | 805f05c3be56e946ac74d5ef5bc08613256d4c18 (diff) | |
| download | usermoji-955f61e264ce33a7aedc2bd6762ed255cb545e38.tar.xz | |
loader: Correct layer path lookup name
Diffstat (limited to 'loader/loader.c')
| -rw-r--r-- | loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c index 3db03e65..cbfd66e3 100644 --- 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; |
