diff options
author | David Thompson <dthompson@member.fsf.org> | 2013-09-02 09:08:42 -0400 |
---|---|---|
committer | David Thompson <dthompson@member.fsf.org> | 2013-09-06 00:09:29 -0400 |
commit | cf1fa9db1fbd45bdada16b0e888583e4a9ae118a (patch) | |
tree | 7e8abb83686d2501818f575348bac7f3021b3e6d /examples | |
parent | 7f6d69e986ae9d77b6e7f8e5572f1bdc210a0ad7 (diff) |
Update simple demo to use a game object.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple.scm b/examples/simple.scm index c33b7a2..de66e6b 100644 --- a/examples/simple.scm +++ b/examples/simple.scm @@ -17,7 +17,7 @@ (draw-sprite (force sprite))) ;; Register callbacks. -(add-hook! on-quit-hook (lambda () (quit-demo))) +(add-hook! on-quit-hook quit-game-loop!) (add-hook! on-render-hook (lambda () (render))) (add-hook! on-key-down-hook (lambda (key mod unicode) (key-down key mod unicode))) |