summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/sprite-batch.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/sprite-batch.scm b/examples/sprite-batch.scm
index 30d8167..4b8d433 100644
--- a/examples/sprite-batch.scm
+++ b/examples/sprite-batch.scm
@@ -38,11 +38,11 @@
(define (load)
(set! *random-state* (random-state-from-platform))
(set! texture (load-image "images/shot.png"))
- (set! batch (make-sprite-batch texture #:capacity 8000))
+ (set! batch (make-sprite-batch texture #:capacity num-sprites))
(script
(forever
(sleep 60)
- (set! stats-text (stats-message)))))
+ (set! stats-text (pk 'stats (stats-message))))))
(define stats-text-pos (vec2 4.0 464.0))
(define (draw alpha)