mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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 <olv@lunarg.com>
This commit is contained in:
parent
f9901f1ab2
commit
6757ec3f8e
2 changed files with 15 additions and 0 deletions
|
|
@ -168,6 +168,11 @@ _GLAPI_EXPORT struct _glapi_table *
|
|||
_glapi_create_table_from_handle(void *handle, const char *symbol_prefix);
|
||||
|
||||
|
||||
/** Deprecated function */
|
||||
_GLAPI_EXPORT unsigned long
|
||||
_glthread_GetID(void);
|
||||
|
||||
|
||||
/*
|
||||
* These stubs are kept so that the old DRI drivers still load.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue