summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/glthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/glthread.c')
-rw-r--r--src/mapi/glapi/glthread.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mapi/glapi/glthread.c b/src/mapi/glapi/glthread.c
new file mode 100644
index 0000000000..9dbc0e9a56
--- /dev/null
+++ b/src/mapi/glapi/glthread.c
@@ -0,0 +1,7 @@
+#include "glthread.h"
+
+unsigned long
+_glthread_GetID(void)
+{
+ return u_thread_self();
+}