diff options
-rw-r--r-- | 2d/sprite.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/sprite.scm b/2d/sprite.scm index c55e1d0..bcf09b6 100644 --- a/2d/sprite.scm +++ b/2d/sprite.scm @@ -253,7 +253,7 @@ batched texture vertices first." vertices #:stride struct-size #:offset (packed-struct-offset sprite-vertex s)) - (gl-draw-arrays (begin-mode quads) 0 size))) + (gl-draw-arrays (begin-mode quads) 0 vertex-count))) (gl-disable-client-state (enable-cap texture-coord-array)) (gl-disable-client-state (enable-cap color-array)) (gl-disable-client-state (enable-cap vertex-array)) |