aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-05-27 00:03:53 +0000
committerIan Romanick <[email protected]>2004-05-27 00:03:53 +0000
commitc1d455f5827e7044dcb316dadc755a6f91299906 (patch)
treeb2963dd582acd88e45226e618d386eb8712ce997 /src/mesa/glapi
parent77bbbb3759c83e66f0391651597c400fea2d95e4 (diff)
Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/glthread.h3
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 */