summaryrefslogtreecommitdiff
path: root/2d/game-loop.scm
diff options
context:
space:
mode:
Diffstat (limited to '2d/game-loop.scm')
-rw-r--r--2d/game-loop.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/2d/game-loop.scm b/2d/game-loop.scm
index d508d26..9e743c7 100644
--- a/2d/game-loop.scm
+++ b/2d/game-loop.scm
@@ -24,6 +24,7 @@
(define-module (2d game-loop)
#:use-module ((sdl sdl) #:prefix SDL:)
#:use-module (figl gl)
+ #:use-module (2d agenda)
#:export (set-render-callback
set-update-callback
set-key-up-callback
@@ -152,6 +153,7 @@ is the unused accumulator time."
(if (>= accumulator frame-interval)
(begin
(update-callback)
+ (update-agenda)
(update (- accumulator frame-interval)))
accumulator))