From 4c97169572d55c5eb940817024335588d08c8d1d Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 23 Jan 2017 21:36:02 -0500 Subject: README: Fix example code again. --- README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 45c3d33..4ff6984 100644 --- a/README +++ b/README @@ -8,15 +8,17 @@ #+BEGIN_SRC scheme (use-modules (chickadee) - (chickadee math vector)) + (chickadee math vector) + (chickadee render sprite) + (chickadee render texture)) (define sprite #f) (define (load) - (set! sprite (load-image "chickadee.png"))) + (set! sprite (load-image "images/chickadee.png"))) (define (draw alpha) - (draw-sprite sprite (vec2 320.0 240.0))) + (draw-sprite sprite (vec2 256.0 176.0))) (add-hook! load-hook load) (add-hook! draw-hook draw) -- cgit v1.2.3