diff options
Diffstat (limited to 'src/mesa/glapi/glthread.h')
-rw-r--r-- | src/mesa/glapi/glthread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/glapi/glthread.h b/src/mesa/glapi/glthread.h index 00710c1058e..4391ed4f9a3 100644 --- a/src/mesa/glapi/glthread.h +++ b/src/mesa/glapi/glthread.h @@ -290,6 +290,9 @@ _glthread_GetTSD(_glthread_TSD *); extern void _glthread_SetTSD(_glthread_TSD *, void *); +#ifndef GL_CALL +# define GL_CALL(name) (*(_glapi_Dispatch-> name)) +#endif #endif /* THREADS_H */ |