summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-09-22 13:03:23 +0000
committerAustin Yuan <shengquan.yuan@gmail.com>2010-06-02 17:31:08 +0800
commite45a4d635dd1044cbbcb67521799f735087f4c4d (patch)
tree1e22ead9fcc382f9e135ad4989b4accde050e411
parent6e60608c7ffb18c97c5c79225be42ae4e1909d6e (diff)
downloadlibva-e45a4d635dd1044cbbcb67521799f735087f4c4d.tar.gz
Don't search LIBGL_DRIVERS_PATH, stick to LIBVA_DRIVERS_PATH only or the default path.
-rw-r--r--va/va.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/va/va.c b/va/va.c
index fb843e8..2d277e7 100644
--- a/va/va.c
+++ b/va/va.c
@@ -135,10 +135,6 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
{
/* don't allow setuid apps to use LIBVA_DRIVERS_PATH */
search_path = getenv("LIBVA_DRIVERS_PATH");
- if (!search_path)
- {
- search_path = getenv("LIBGL_DRIVERS_PATH");
- }
}
if (!search_path)
{