22 lines
688 B
Diff
22 lines
688 B
Diff
commit 035374378644216fb3a7d3974a8c46b1bd425918
|
|
Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
|
|
Date: Tue Sep 22 13:03:23 2009 +0000
|
|
|
|
Don't search LIBGL_DRIVERS_PATH, stick to LIBVA_DRIVERS_PATH only or the default path.
|
|
|
|
diff --git a/src/va.c b/src/va.c
|
|
index 12662cd..723235e 100644
|
|
--- a/src/va.c
|
|
+++ b/src/va.c
|
|
@@ -134,10 +134,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)
|
|
{
|