summaryrefslogtreecommitdiff
path: root/examples/particles.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-07-06 19:50:51 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-07-06 19:50:51 -0400
commitc37224c7d13cd9aa63b9d614e24b1832acf168d7 (patch)
tree434630df0cd6ff25efc328049cf92bd665c2c82a /examples/particles.scm
parente7d1153289529f7d816fc8f3fabba3bac8e6a3ee (diff)
Update demos to use new sprite-batch-draw procedure.
Diffstat (limited to 'examples/particles.scm')
-rw-r--r--examples/particles.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/particles.scm b/examples/particles.scm
index b5044bb..9883dfb 100644
--- a/examples/particles.scm
+++ b/examples/particles.scm
@@ -61,9 +61,7 @@
(let* ((pos (particle-position p))
(x (vx pos))
(y (vy pos)))
- (sprite-batch-draw batch particle-image x y 0 0
- particle-width particle-height
- 1 1 0)))
+ (sprite-batch-draw particle-image x y particle-width particle-height)))
particles)))
(set-render-callback (lambda () (render)))