summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-03-29 16:13:53 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-03-29 16:13:53 -0400
commit2fd537d6ecaa428068ad0576cafcd1254e5e654f (patch)
tree8494210f19c22b843cad87aadee8e6aa97f6767d /examples
parent864c44a02357ceb89261b0e5330c01323ae20e26 (diff)
Don't open window upon importing the (2d window) module.
* 2d/window.scm (open-window): Remove default argument. * examples/common.scm: Open a window.
Diffstat (limited to 'examples')
-rw-r--r--examples/common.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/common.scm b/examples/common.scm
index 8b1263d..b9675eb 100644
--- a/examples/common.scm
+++ b/examples/common.scm
@@ -23,6 +23,7 @@
(2d signal)
(2d window))
+(open-window)
(add-hook! key-press-hook (lambda (key unicode)
(when (eq? key 'escape)
(quit-game))))