egl: Make the transition to built-in drivers more smooth.
authorChia-I Wu <olv@lunarg.com>
Sat, 29 Jan 2011 20:52:31 +0000 (04:52 +0800)
committerChia-I Wu <olv@lunarg.com>
Sat, 29 Jan 2011 20:55:08 +0000 (04:55 +0800)
commitf36cba6cf3d51a3937d3bb429609d258399751a0
treeb80cc3759790e454846507a3076dd813af58d2b0
parentb825e4955243b8ecb57e58afafd8b2286fdd4369
egl: Make the transition to built-in drivers more smooth.

When the user sets EGL_DRIVER to egl_dri2 (or egl_glx), make sure the
built-in driver is used.  The user might leave the outdated egl_dri2.so
(or egl_glx.so) on the filesystem and we do not want to load it.
src/egl/main/egldriver.c