mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
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 d986cb7c70 (since May 20th), and no one has noticed.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
This commit is contained in:
parent
461b4b103f
commit
b06a6852ff
1 changed files with 2 additions and 2 deletions
|
|
@ -549,9 +549,9 @@ def main():
|
||||||
"""Main function."""
|
"""Main function."""
|
||||||
args = _parser()
|
args = _parser()
|
||||||
|
|
||||||
if args._mode == "dispatch_c":
|
if args.mode == "dispatch_c":
|
||||||
printer = PrintGlxDispatchFunctions(args.swap)
|
printer = PrintGlxDispatchFunctions(args.swap)
|
||||||
elif args._mode == "dispatch_h":
|
elif args.mode == "dispatch_h":
|
||||||
printer = PrintGlxDispatch_h()
|
printer = PrintGlxDispatch_h()
|
||||||
|
|
||||||
api = gl_XML.parse_GL_API(
|
api = gl_XML.parse_GL_API(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue