summaryrefslogtreecommitdiff
path: root/sdl2/bindings/image.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-12-16 15:49:58 -0500
committerDavid Thompson <dthompson2@worcester.edu>2016-12-16 21:52:36 -0500
commit0c8dc41d9f8da0dae8a171880efd9de3010328a1 (patch)
treef842fd2fac1a69abeb83edc328d2bcc1e05752b5 /sdl2/bindings/image.scm
parent53eb88ff721968299dd59e1c604e1b5714c5f0a5 (diff)
image: Add IMG_SavePNG binding.
Diffstat (limited to 'sdl2/bindings/image.scm')
-rw-r--r--sdl2/bindings/image.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdl2/bindings/image.scm b/sdl2/bindings/image.scm
index cfdb31d..598c024 100644
--- a/sdl2/bindings/image.scm
+++ b/sdl2/bindings/image.scm
@@ -54,3 +54,6 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
(define-foreign img-load
'* "IMG_Load" '(*))
+
+(define-foreign img-save-png
+ int "IMG_SavePNG" '(* *))