diff options
Diffstat (limited to 'src/egl/main/eglglobals.c')
-rw-r--r-- | src/egl/main/eglglobals.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c index 5c2fddfbf9e..cc06268178f 100644 --- a/src/egl/main/eglglobals.c +++ b/src/egl/main/eglglobals.c @@ -36,7 +36,8 @@ #include "eglmutex.h" -static _EGL_DECLARE_MUTEX(_eglGlobalMutex); +static _EGLMutex _eglGlobalMutex = _EGL_MUTEX_INITIALIZER; + struct _egl_global _eglGlobal = { &_eglGlobalMutex, /* Mutex */ |