diff options
author | Emil Velikov <[email protected]> | 2015-03-06 16:54:55 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-03-11 23:28:25 +0000 |
commit | efe87f1a801c61d087cd2b29a2c150453241c3d4 (patch) | |
tree | d7decbfd791f6ee4ab728d10f8573984a4bad4ee /src/egl/main/eglglobals.h | |
parent | 90e50908d7f080d91f41d889cfe0dc67134971eb (diff) |
egl/main: use c11/threads' mutex directly
Remove the inline wrappers/abstraction layer.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/egl/main/eglglobals.h')
-rw-r--r-- | src/egl/main/eglglobals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/eglglobals.h b/src/egl/main/eglglobals.h index a8cf6d69124..04b96099a3b 100644 --- a/src/egl/main/eglglobals.h +++ b/src/egl/main/eglglobals.h @@ -32,9 +32,9 @@ #define EGLGLOBALS_INCLUDED #include <stdbool.h> +#include "c11/threads.h" #include "egltypedefs.h" -#include "eglmutex.h" /** @@ -42,7 +42,7 @@ */ struct _egl_global { - _EGLMutex *Mutex; + mtx_t *Mutex; /* the list of all displays */ _EGLDisplay *DisplayList; |