summaryrefslogtreecommitdiff
path: root/2d/game-loop.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-09-15 21:17:47 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-09-15 21:17:47 -0400
commit109d40a75d9135db707363b1747923d5b79eb18d (patch)
tree42abc6f8253f10e234fab1fa8156e02938b9ad38 /2d/game-loop.scm
parent787636a26527902f2e67e5c84ef147f53acfa6fa (diff)
Rename scene draw and update procedures.
They were inconsistent with the rest of the API.
Diffstat (limited to '2d/game-loop.scm')
-rw-r--r--2d/game-loop.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/2d/game-loop.scm b/2d/game-loop.scm
index 6d32bcb..1a9b518 100644
--- a/2d/game-loop.scm
+++ b/2d/game-loop.scm
@@ -144,7 +144,7 @@
(set-gl-matrix-mode (matrix-mode modelview))
(gl-load-identity)
(gl-clear (clear-buffer-mask color-buffer depth-buffer))
- (scene-draw current-scene)
+ (draw-scene current-scene)
(SDL:gl-swap-buffers)
(accumulate-fps! dt))
@@ -156,7 +156,7 @@ is the unused accumulator time."
(begin
(handle-events)
(update-agenda)
- (scene-update current-scene)
+ (update-scene current-scene)
(update (- accumulator tick-interval)))
accumulator))