summaryrefslogtreecommitdiff
path: root/sdl2/bindings.scm
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2022-07-06 20:25:30 +0200
committerDavid Thompson <dthompson2@worcester.edu>2022-07-06 15:51:36 -0400
commit697a403617b97b4ce333132dae89cb009f6b6e3b (patch)
tree44708086f19b7ebf8e07e328c0b5348a80b277d9 /sdl2/bindings.scm
parent3f5fc49d9885ea88a4271d2d074e3e6192bce1ef (diff)
Add SDL_UpdateTexture binding.
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 5a63636..897a0dc 100644
--- a/sdl2/bindings.scm
+++ b/sdl2/bindings.scm
@@ -327,6 +327,9 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
(define-foreign sdl-set-texture-blend-mode
int "SDL_SetTextureBlendMode" (list '* int))
+(define-foreign sdl-update-texture
+ int "SDL_UpdateTexture" (list '* '* '* int))
+
(define-foreign sdl-set-render-draw-blend-mode
int "SDL_SetRenderDrawBlendMode" (list '* int))