diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-09-22 13:03:23 +0000 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@gmail.com> | 2010-06-02 17:31:08 +0800 |
commit | e45a4d635dd1044cbbcb67521799f735087f4c4d (patch) | |
tree | 1e22ead9fcc382f9e135ad4989b4accde050e411 | |
parent | 6e60608c7ffb18c97c5c79225be42ae4e1909d6e (diff) | |
download | libva-e45a4d635dd1044cbbcb67521799f735087f4c4d.tar.gz |
Don't search LIBGL_DRIVERS_PATH, stick to LIBVA_DRIVERS_PATH only or the default path.
-rw-r--r-- | va/va.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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) { |