diff options
author | Unworried Safari <unworriedsafari@pm.me> | 2021-04-25 19:45:41 +0000 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-04-25 21:52:41 -0400 |
commit | e4d53333dffd31ae64d59200e99b588c48a4fbc1 (patch) | |
tree | 1be9d5922f30898e4b3732e6eb130d5569241928 /sdl2 | |
parent | 90578fd69c2eeebc3956d5fcc47d7f771270b5c4 (diff) |
render: Fix indexing error in build-point-bv.
Diffstat (limited to 'sdl2')
-rw-r--r-- | sdl2/render.scm | 2 |
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) |