Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.
diff --git a/src/mesa/glapi/glthread.h b/src/mesa/glapi/glthread.h
index 00710c1..4391ed4 100644
--- a/src/mesa/glapi/glthread.h
+++ b/src/mesa/glapi/glthread.h
@@ -290,6 +290,9 @@
 extern void
 _glthread_SetTSD(_glthread_TSD *, void *);
 
+#ifndef GL_CALL
+# define GL_CALL(name) (*(_glapi_Dispatch-> name))
+#endif
 
 
 #endif /* THREADS_H */