diff options
author | Brian Paul <[email protected]> | 2014-03-14 10:13:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-03-14 12:12:07 -0600 |
commit | 6757ec3f8edd7ac509a1ec30d3d8c49462ade545 (patch) | |
tree | 0c071c57f490f099235632222248d6e3789afd10 /src/mapi/mapi_glapi.c | |
parent | f9901f1ab284563c9f3e3ab1d6b6ebfd6cd5575e (diff) |
glapi: restore _glthread_GetID() function
This partially reverts patch 02cb04c68f. This fixes an unresolved
symbol error when using older builds of libGL.
Tested-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mapi/mapi_glapi.c')
-rw-r--r-- | src/mapi/mapi_glapi.c | 10 |
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) { |