egl: remove egl_gallium from the loader
authorMarek Olšák <marek.olsak@amd.com>
Sat, 1 Nov 2014 13:31:09 +0000 (14:31 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Nov 2014 15:16:12 +0000 (16:16 +0100)
Acked-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Informally acked-by: Jose Fonseca

src/egl/main/egldriver.c

index 78d81309265bea8285615fd8d67ff96d73814e68..8cf777de794dd6b7b562d4f740bdb851b4085ffc 100644 (file)
@@ -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();
    }