Initialize glfw for --debug-config as well

This commit is contained in:
Kovid Goyal 2018-06-22 13:30:03 +05:30
parent 45b0233f60
commit d16215ab6e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -223,6 +223,7 @@ def _main():
args, rest = parse_args(args=args) args, rest = parse_args(args=args)
args.args = rest args.args = rest
if args.debug_config: if args.debug_config:
init_glfw(args.debug_keyboard) # needed for parsing native keysyms
create_opts(args, debug_config=True) create_opts(args, debug_config=True)
return return
if getattr(args, 'detach', False): if getattr(args, 'detach', False):