egl: drop unused egldriver.h header
[mesa.git] / src / egl / main / eglglobals.c
index f5814b2b2a1ee6381dd137e8f80755a658c88daf..36d0c79bcd4cf6ebb65d1a0be64c652c666e69c4 100644 (file)
@@ -37,7 +37,6 @@
 #include "eglglobals.h"
 #include "egldevice.h"
 #include "egldisplay.h"
-#include "egldriver.h"
 
 #include "util/macros.h"
 
@@ -54,11 +53,10 @@ struct _egl_global _eglGlobal =
    .Mutex = &_eglGlobalMutex,
    .DisplayList = NULL,
    .DeviceList = &_eglSoftwareDevice,
-   .NumAtExitCalls = 3,
+   .NumAtExitCalls = 2,
    .AtExitCalls = {
       /* default AtExitCalls, called in reverse order */
       _eglFiniDevice, /* always called last */
-      _eglUnloadDrivers,
       _eglFiniDisplay,
    },
 
@@ -95,9 +93,7 @@ struct _egl_global _eglGlobal =
    " EGL_MESA_platform_gbm"
    " EGL_KHR_platform_gbm"
 #endif
-#ifdef HAVE_SURFACELESS_PLATFORM
    " EGL_MESA_platform_surfaceless"
-#endif
    "",
 
    .debugCallback = NULL,