summaryrefslogtreecommitdiff
path: root/examples/sprite.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sprite.scm')
-rw-r--r--examples/sprite.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/sprite.scm b/examples/sprite.scm
index 92ab364..12a9ffb 100644
--- a/examples/sprite.scm
+++ b/examples/sprite.scm
@@ -11,8 +11,4 @@
(define (draw alpha)
(draw-sprite sprite (vec2 256.0 176.0)))
-(add-hook! load-hook load)
-(add-hook! draw-hook draw)
-(add-hook! quit-hook abort-game)
-
-(run-game)
+(run-game/sdl #:load load #:draw draw)