aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/mapi_glapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mapi/mapi_glapi.c')
-rw-r--r--mesalib/src/mapi/mapi_glapi.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mesalib/src/mapi/mapi_glapi.c b/mesalib/src/mapi/mapi_glapi.c
index 7b0903be9..127dfafac 100644
--- a/mesalib/src/mapi/mapi_glapi.c
+++ b/mesalib/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)
{