summaryrefslogtreecommitdiffstats
path: root/src/mapi/mapi_glapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/mapi_glapi.c')
-rw-r--r--src/mapi/mapi_glapi.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mapi/mapi_glapi.c b/src/mapi/mapi_glapi.c
index 7b0903be9ee..127dfafac30 100644
--- a/src/mapi/mapi_glapi.c
+++ b/src/mapi/mapi_glapi.c
@@ -222,6 +222,16 @@ _glapi_get_proc_name(unsigned int offset)
return stub ? stub_get_name(stub) : NULL;
}
+/**
+ * This is a deprecated function which should not be used anymore.
+ * It's only present to satisfy linking with older versions of libGL.
+ */
+unsigned long
+_glthread_GetID(void)
+{
+ return 0;
+}
+
void
_glapi_noop_enable_warnings(unsigned char enable)
{