summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/egl/main/egldriver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 447f67d88a..d38022c7c6 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -425,6 +425,7 @@ _eglPreloadDrivers(void)
void
_eglUnloadDrivers(void)
{
+#if defined(_EGL_OS_UNIX)
EGLint i;
/* this is called at atexit time */
@@ -447,6 +448,9 @@ _eglUnloadDrivers(void)
}
_eglGlobal.NumDrivers = 0;
+#elif defined(_EGL_OS_WINDOWS)
+ /* XXX Windows unloads DLLs before atexit */
+#endif
}
_EGLDriver *