comparison scripts/pytouhou @ 636:4fa0a8e7d941

Add a GLFW implementation of gui.Window.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 14 May 2017 20:14:03 +0100
parents 2cf518129725
children a6875f90c141
comparison
equal deleted inserted replaced
635:80687f258001 636:4fa0a8e7d941
25 'rank': 0, 25 'rank': 0,
26 'character': 0, 26 'character': 0,
27 'game': 'eosd', 27 'game': 'eosd',
28 'interface': 'eosd', 28 'interface': 'eosd',
29 'port': 0, 29 'port': 0,
30 'frontend': 'glfw',
30 'backend': ['opengl', 'sdl'], 31 'backend': ['opengl', 'sdl'],
31 'gl-flavor': 'compatibility', 32 'gl-flavor': 'compatibility',
32 'gl-version': 2.1, 33 'gl-version': 2.1,
33 'double-buffer': None, 34 'double-buffer': None,
34 'fps-limit': -1, 35 'fps-limit': -1,
88 if backend_name == 'opengl': 89 if backend_name == 'opengl':
89 options = { 90 options = {
90 'flavor': args.gl_flavor, 91 'flavor': args.gl_flavor,
91 'version': args.gl_version, 92 'version': args.gl_version,
92 'double-buffer': args.double_buffer, 93 'double-buffer': args.double_buffer,
94 'frontend': args.frontend,
93 } 95 }
94 else: 96 else:
95 options = {} 97 options = {}
96 98
97 try: 99 try: