summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-07-02 10:25:41 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2015-07-22 16:35:27 +0100
commitb06a6852ff782bb20d9e91a3a67eccb92e856ed3 (patch)
treecf77480f91b26a7b661abe5e4fd2904256876cf8 /src/mapi/glapi
parent461b4b103f545027beb59c1d747c85892c6c1f63 (diff)
downloadexternal_mesa3d-b06a6852ff782bb20d9e91a3a67eccb92e856ed3.zip
external_mesa3d-b06a6852ff782bb20d9e91a3a67eccb92e856ed3.tar.gz
external_mesa3d-b06a6852ff782bb20d9e91a3a67eccb92e856ed3.tar.bz2
glapi: fix argument parsing in glX_proto_recv.py
One of the plugins I use with vim "helpfully" added an underscore to the front of mode for kicks. Obviously this isn't a feature used very often because it's been broken since d986cb7c70db (since May 20th), and no one has noticed. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/glX_proto_recv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_recv.py b/src/mapi/glapi/gen/glX_proto_recv.py
index da468dc..5d95f27 100644
--- a/src/mapi/glapi/gen/glX_proto_recv.py
+++ b/src/mapi/glapi/gen/glX_proto_recv.py
@@ -549,9 +549,9 @@ def main():
"""Main function."""
args = _parser()
- if args._mode == "dispatch_c":
+ if args.mode == "dispatch_c":
printer = PrintGlxDispatchFunctions(args.swap)
- elif args._mode == "dispatch_h":
+ elif args.mode == "dispatch_h":
printer = PrintGlxDispatch_h()
api = gl_XML.parse_GL_API(