aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesaP.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-03-01 10:21:07 -0700
committerBrian Paul <[email protected]>2014-03-03 13:08:58 -0700
commit2706db701d6217d245325f90f014233ff40ba18c (patch)
tree608aab695b7eedcb5c9d88e2a29f440a4192bdbf /src/mesa/drivers/x11/xmesaP.h
parent657436da7ee7a7005e25d90092cd5bda2b7d43bd (diff)
xlib: switch to c11 mutex functions
The _glthread_LOCK/UNLOCK_MUTEX() macros are just wrappers around the c11 mutex functions. Let's start getting rid of those wrappers. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r--src/mesa/drivers/x11/xmesaP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index 85af1df02b7..b47934db877 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -27,12 +27,13 @@
#define XMESAP_H
+#include "c11/threads.h"
#include "xmesa.h"
#include "main/mtypes.h"
#include "swrast/s_context.h"
-extern _glthread_Mutex _xmesa_lock;
+extern mtx_t _xmesa_lock;
extern XMesaBuffer XMesaBufferList;