summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-03-05 15:07:51 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-06 16:46:17 +0000
commit6cee785c69a5c8d2d32b6807f9c502117f5a74b0 (patch)
tree1359974cc2d2e3dd0da4ec7898f1f153bc3557d6 /src/egl/main/egldisplay.h
parentbfb4db83b618d57fcc5f0c9e9fdb3a7ff33d07f3 (diff)
downloadexternal_mesa3d-6cee785c69a5c8d2d32b6807f9c502117f5a74b0.zip
external_mesa3d-6cee785c69a5c8d2d32b6807f9c502117f5a74b0.tar.gz
external_mesa3d-6cee785c69a5c8d2d32b6807f9c502117f5a74b0.tar.bz2
egl/main: use c11/threads' mutex directly
Remove the inline wrappers/abstraction layer. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r--src/egl/main/egldisplay.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index 9c3c8c7..5a845d8 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -32,10 +32,10 @@
#define EGLDISPLAY_INCLUDED
#include "c99_compat.h"
+#include "c11/threads.h"
#include "egltypedefs.h"
#include "egldefines.h"
-#include "eglmutex.h"
#include "eglarray.h"
@@ -132,7 +132,7 @@ struct _egl_display
/* used to link displays */
_EGLDisplay *Next;
- _EGLMutex Mutex;
+ mtx_t Mutex;
_EGLPlatformType Platform; /**< The type of the platform display */
void *PlatformDisplay; /**< A pointer to the platform display */