summaryrefslogtreecommitdiff
path: root/sdl2/bindings.scm
diff options
context:
space:
mode:
authorPierre-Antoine Rouby <contact@parouby.fr>2019-05-29 22:43:27 +0200
committerDavid Thompson <dthompson2@worcester.edu>2019-05-31 09:51:18 -0400
commite455ed5e2d41cb5f8c0f4d536f650a40a9cdc534 (patch)
tree0a52bf81cefb6f423d9b85014e40f89722053b34 /sdl2/bindings.scm
parent75e37396df6ceb6732c37800e098333dc90d2211 (diff)
render: Add SDL_RenderDrawPoints binding.
* sdl2/bindings.scm (sdl-render-draw-points): New procedure. * sdl2/render.scm (render-draw-points): New procedure. * doc/api.texi (Rendering): Document it.
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r--sdl2/bindings.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm
index c382a45..bf8db7a 100644
--- a/sdl2/bindings.scm
+++ b/sdl2/bindings.scm
@@ -255,6 +255,9 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
(define-foreign sdl-render-draw-point
int "SDL_RenderDrawPoint" (list '* int int))
+(define-foreign sdl-render-draw-points
+ int "SDL_RenderDrawPoints" (list '* '* int))
+
;;;
;;; Events