summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee.scm b/chickadee.scm
index 10136d9..d65a265 100644
--- a/chickadee.scm
+++ b/chickadee.scm
@@ -173,9 +173,9 @@
(loop (poll-event))))
;; Advance the simulation.
(run-hook update-hook update-interval)
- (update-loop (- lag update-interval))
;; Free any GPU resources that have been GC'd.
- (gpu-reap!))
+ (gpu-reap!)
+ (update-loop (- lag update-interval)))
(begin
;; Render a frame.
(run-hook before-draw-hook)