diff options
author | Emil Velikov <[email protected]> | 2015-03-05 15:07:51 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-03-06 16:46:17 +0000 |
commit | 6cee785c69a5c8d2d32b6807f9c502117f5a74b0 (patch) | |
tree | 1359974cc2d2e3dd0da4ec7898f1f153bc3557d6 /src/egl/main/eglglobals.h | |
parent | bfb4db83b618d57fcc5f0c9e9fdb3a7ff33d07f3 (diff) |
egl/main: use c11/threads' mutex directly
Remove the inline wrappers/abstraction layer.
Signed-off-by: Emil Velikov <[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; |