summaryrefslogtreecommitdiff
path: root/sdl2/render.scm
diff options
context:
space:
mode:
authorUnworried Safari <unworriedsafari@pm.me>2021-04-25 19:45:41 +0000
committerDavid Thompson <dthompson2@worcester.edu>2021-04-25 21:52:41 -0400
commite4d53333dffd31ae64d59200e99b588c48a4fbc1 (patch)
tree1be9d5922f30898e4b3732e6eb130d5569241928 /sdl2/render.scm
parent90578fd69c2eeebc3956d5fcc47d7f771270b5c4 (diff)
render: Fix indexing error in build-point-bv.
Diffstat (limited to 'sdl2/render.scm')
-rw-r--r--sdl2/render.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl2/render.scm b/sdl2/render.scm
index e51e476..e12fad1 100644
--- a/sdl2/render.scm
+++ b/sdl2/render.scm
@@ -237,7 +237,7 @@ disable it."
(() bv)
(((x y) . rest)
(s32vector-set! bv (* i 2) x)
- (s32vector-set! bv (+ (* i 1) 1) y)
+ (s32vector-set! bv (+ (* i 2) 1) y)
(loop rest (+ i 1)))))))
(define (draw-lines renderer points)