summaryrefslogtreecommitdiff
path: root/examples/nine-patch.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nine-patch.scm')
-rw-r--r--examples/nine-patch.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/nine-patch.scm b/examples/nine-patch.scm
index 5255d34..ed03cab 100644
--- a/examples/nine-patch.scm
+++ b/examples/nine-patch.scm
@@ -16,8 +16,4 @@
(draw-nine-patch image (make-rect 192.0 192.0 256.0 96.0) #:margin 6)
(draw-text font "I am error." (vec2 200.0 266.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)