From 60f10e08308a6a8df543268db59f580ddc27c743 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 28 Jul 2013 19:38:12 -0400 Subject: Update examples. --- examples/tilemap.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/tilemap.scm') diff --git a/examples/tilemap.scm b/examples/tilemap.scm index 72a1326..1f19eb3 100644 --- a/examples/tilemap.scm +++ b/examples/tilemap.scm @@ -85,8 +85,8 @@ (define window-width 800) (define window-height 600) -(set-key-down-callback (lambda (key mod unicode) (key-down key mod unicode))) -(set-render-callback (lambda () (render))) +(add-hook! on-key-down-hook (lambda (key mod unicode) (key-down key mod unicode))) +(add-hook! on-render-hook (lambda () (render))) (open-window window-width window-height) ;; Load tileset and build map layer -- cgit v1.2.3