From: Marek Olšák Date: Sat, 1 Nov 2014 13:31:09 +0000 (+0100) Subject: egl: remove egl_gallium from the loader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=363b53f00069af718f64cf047f19ad5681a8bf6d;p=mesa.git egl: remove egl_gallium from the loader Acked-by: Kristian Høgsberg Reviewed-by: Eric Anholt Informally acked-by: Jose Fonseca --- diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 78d81309265..8cf777de794 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -517,19 +517,6 @@ _eglAddUserDriver(void) } -/** - * Add egl_gallium to the module array. - */ -static void -_eglAddGalliumDriver(void) -{ -#ifndef _EGL_BUILT_IN_DRIVER_GALLIUM - void *external = (void *) "egl_gallium"; - _eglPreloadForEach(_eglGetSearchPath(), _eglLoaderFile, external); -#endif -} - - /** * Add built-in drivers to the module array. */ @@ -562,7 +549,6 @@ _eglAddDrivers(void) * Add other drivers only when EGL_DRIVER is not set. The order here * decides the priorities. */ - _eglAddGalliumDriver(); _eglAddBuiltInDrivers(); }