mirror of
https://github.com/quantum5/punyverse.git
synced 2025-04-24 13:11:57 -04:00
Run without debugging by default.
This commit is contained in:
parent
04758850f5
commit
ac7a4d0f13
|
@ -2,11 +2,9 @@ import argparse
|
|||
|
||||
import pyglet
|
||||
|
||||
from punyverse.loader import LoaderWindow
|
||||
from punyverse.ui import Punyverse
|
||||
|
||||
INITIAL_WIN_HEIGHT = 540
|
||||
INITIAL_WIN_WIDTH = 700
|
||||
DEBUG = False
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -23,7 +21,11 @@ def main():
|
|||
action='store_true')
|
||||
args = parser.parse_args()
|
||||
|
||||
pyglet.options['debug_gl'] = DEBUG
|
||||
pyglet.options['shadow_window'] = False
|
||||
|
||||
from punyverse.loader import LoaderWindow
|
||||
from punyverse.ui import Punyverse
|
||||
loader = LoaderWindow(width=INITIAL_WIN_WIDTH, height=INITIAL_WIN_HEIGHT,
|
||||
caption='Punyverse is loading...')
|
||||
|
||||
|
|
Loading…
Reference in a new issue