summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-08-17 17:05:41 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-08-17 17:05:41 -0400
commitf82ce14de5fe99d2571fdd66b291d36dc358527d (patch)
tree7408aa38765784977485d8be73c10382001858be
parent986ec83803db70e18b6f97186df57d2969ea940d (diff)
Fix example.
-rw-r--r--examples/simple.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/simple.scm b/examples/simple.scm
index 751c214..0c0d8e6 100644
--- a/examples/simple.scm
+++ b/examples/simple.scm
@@ -9,8 +9,10 @@
;; Open the window.
(open-window window-width window-height)
-(define sprite (load-sprite "images/grass.jpg" #:position (vector (/ window-width 2)
- (/ window-height 2))))
+(define sprite
+ (load-sprite "images/sprite.png"
+ #:position (vector (/ window-width 2)
+ (/ window-height 2))))
(define (quit-demo)
(close-window)