From 80dd0c8e510f57774e4ec4c2246108259bb26b4d Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Tue, 15 Dec 2020 00:06:05 +0100 Subject: render: Add SDL_QueryTexture binding. * sdl2/bindings.scm (sdl-query-texture): New variable. * sdl2/render.scm (query-texture): New variable. * doc/api.texi: Document it here. --- sdl2/bindings.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sdl2/bindings.scm') diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm index aea12c9..373f3aa 100644 --- a/sdl2/bindings.scm +++ b/sdl2/bindings.scm @@ -306,6 +306,9 @@ RETURN-TYPE and accept arguments of ARG-TYPES." (define-foreign sdl-destroy-texture void "SDL_DestroyTexture" '(*)) +(define-foreign sdl-query-texture + int "SDL_QueryTexture" '(* * * * *)) + (define-foreign sdl-set-texture-color-mod int "SDL_SetTextureColorMod" (list '* uint8 uint8 uint8)) -- cgit v1.2.3