Module: Mesa Branch: master Commit: 98ebc8165c39a3f4bcfa16836292e217f24fe1ed URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98ebc8165c39a3f4bcfa16836292e217f24fe1ed
Author: Chia-I Wu <[email protected]> Date: Wed Jun 30 18:27:22 2010 +0800 egl: Make _eglUnloadDrivers no-op on Windows. Windows unloads DLLs before atexit. Make _eglUnloadDrivers no-op on Windows for now. --- src/egl/main/egldriver.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 447f67d..d38022c 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 * _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
