summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/glapi/gen/gl_apitemp.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/mapi/glapi/gen/gl_apitemp.py')
-rw-r--r--lib/mesa/src/mapi/glapi/gen/gl_apitemp.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/mesa/src/mapi/glapi/gen/gl_apitemp.py b/lib/mesa/src/mapi/glapi/gen/gl_apitemp.py
index a8e5d8145..5e985a2ec 100644
--- a/lib/mesa/src/mapi/glapi/gen/gl_apitemp.py
+++ b/lib/mesa/src/mapi/glapi/gen/gl_apitemp.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
# (C) Copyright IBM Corporation 2004, 2005
# All Rights Reserved.
@@ -133,11 +134,11 @@ class PrintGlOffsets(gl_XML.gl_print_base):
* #define KEYWORD1
* #define KEYWORD2
* #define NAME(func) gl##func
- * #define DISPATCH(func, args, msg) \\
- * struct _glapi_table *dispatch = CurrentClientDispatch; \\
+ * #define DISPATCH(func, args, msg) \\
+ * struct _glapi_table *dispatch = CurrentDispatch; \\
* (*dispatch->func) args
- * #define RETURN DISPATCH(func, args, msg) \\
- * struct _glapi_table *dispatch = CurrentClientDispatch; \\
+ * #define RETURN DISPATCH(func, args, msg) \\
+ * struct _glapi_table *dispatch = CurrentDispatch; \\
* return (*dispatch->func) args
*
*/