projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5bc0a8
)
egl: Make _eglUnloadDrivers no-op on Windows.
author
Chia-I Wu
<olv@lunarg.com>
Wed, 30 Jun 2010 10:27:22 +0000
(18:27 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Wed, 30 Jun 2010 10:32:48 +0000
(18:32 +0800)
Windows unloads DLLs before atexit. Make _eglUnloadDrivers no-op on
Windows for now.
src/egl/main/egldriver.c
patch
|
blob
|
history
diff --git
a/src/egl/main/egldriver.c
b/src/egl/main/egldriver.c
index 447f67d88a76eef7b39c475c5ae8934727646f42..d38022c7c6fa1679acee80a485af58b4366d6127 100644
(file)
--- 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 *