mirror of
https://github.com/KrisKennaway/ii-pix.git
synced 2024-06-07 00:29:29 +00:00
Don't initialize pygame if --no-show-output
This commit is contained in:
parent
e77e7abd43
commit
5fefd0b0bb
|
@ -352,6 +352,7 @@ def main():
|
||||||
inner_iterations = 10
|
inner_iterations = 10
|
||||||
outer_iterations = 20
|
outer_iterations = 20
|
||||||
|
|
||||||
|
if args.show_output:
|
||||||
pygame.init()
|
pygame.init()
|
||||||
# TODO: for some reason I need to execute this twice - the first time
|
# TODO: for some reason I need to execute this twice - the first time
|
||||||
# the window is created and immediately destroyed
|
# the window is created and immediately destroyed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user