diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mapi/glapi/gen/glX_proto_recv.py | 4 |
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 da468dc5876..5d95f278a91 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( |