From c2373a75d763ed6f2d1c684564dc2ad2348bdc79 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 21 Sep 2021 20:08:17 -0400 Subject: game-loop: Add init argument to run-game*. --- chickadee.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chickadee.scm') 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 -- cgit v1.2.3