diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple.scm | 6 |
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) |