aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-14 01:57:23 +0100
committerEmil Velikov <[email protected]>2015-07-22 16:35:26 +0100
commitc17e01748e9efc2d638b7b5bc9d4344521334f48 (patch)
treef0ec138a78de8588297e28272127587889f2761c /src/egl/main/egldriver.c
parent3593f37fd7b599e217bd1f894ac671a14a058b8d (diff)
egl: remove final Windows specific workaround
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r--src/egl/main/egldriver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 05ccd0e3796..b9b21dec5ea 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -96,15 +96,10 @@ _eglLoadModule(_EGLModule *mod)
static void
_eglUnloadModule(_EGLModule *mod)
{
-#if defined(_EGL_OS_UNIX)
/* destroy the driver */
if (mod->Driver && mod->Driver->Unload)
mod->Driver->Unload(mod->Driver);
-#elif defined(_EGL_OS_WINDOWS)
- /* XXX Windows unloads DLLs before atexit */
-#endif
-
mod->Driver = NULL;
}