summaryrefslogtreecommitdiff
path: root/chickadee.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-09-21 20:08:17 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-09-21 20:34:43 -0400
commitc2373a75d763ed6f2d1c684564dc2ad2348bdc79 (patch)
treeb0df1319daa0fc37d3f75be026c896e65686c28f /chickadee.scm
parentb9fa5959cbd7ad512566029b202d00a443ea3f15 (diff)
game-loop: Add init argument to run-game*.
Diffstat (limited to 'chickadee.scm')
-rw-r--r--chickadee.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee.scm b/chickadee.scm
index e4afb13..aec8eef 100644
--- a/chickadee.scm
+++ b/chickadee.scm
@@ -410,8 +410,8 @@ border is disabled, otherwise it is enabled.")
(gl-enable (version-3-2 texture-cube-map-seamless))
(sdl2:load-game-controller-mappings!
(scope-datadir "gamecontrollerdb.txt"))
- (load)
- (run-game* #:update update-sdl
+ (run-game* #:init load
+ #:update update-sdl
#:render render-sdl-opengl
#:error (and error on-error)
#:time elapsed-time