libGL: Fall back to DEFAULT_DRIVER_DIR properly.
authorKristian Høgsberg <krh@redhat.com>
Sun, 9 Mar 2008 20:21:29 +0000 (16:21 -0400)
committerKristian Høgsberg <krh@redhat.com>
Sun, 9 Mar 2008 20:29:17 +0000 (16:29 -0400)
commit03db9c8acb83f7072681876ce5e8d73e1ec922e9
tree4f01495d14f9d61bc613ca2a29246f58f101bfca
parenteecb3ab7c64764464d20a7c30279c9a3b26b0a7f
libGL: Fall back to DEFAULT_DRIVER_DIR properly.

After commit 6fd82f6fbd208dc7b1839ea408a5fb28589ee622, we would
overwrite the libPath default value with NULL if libGL was running
non-setuid and none of the env vars were set.

Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for spotting it.
src/glx/x11/dri_glx.c