mesa/src/mapi/glapi/glthread.c
Chia-I Wu a73c6540d9 mapi: Add mapi and share the code with glapi.
Specifically, move all or most of

      glapi/glapi.c         to mapi/u_current.c,
      glapi/glapi_execmem.c to mapi/u_execmem.c,
      glapi/glthread.[ch]   to mapi/u_thread.[ch]

and remove their dependencies on core Mesa headers.
2010-05-07 10:41:11 +08:00

7 lines
90 B
C

#include "glthread.h"
unsigned long
_glthread_GetID(void)
{
return u_thread_self();
}