summaryrefslogtreecommitdiff
path: root/sdl2/bindings.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-12-16 15:52:39 -0500
committerDavid Thompson <dthompson2@worcester.edu>2016-12-16 21:52:36 -0500
commita1fe5d2aa86f3c25fb88313fe4ebd4f53d3f8ed3 (patch)
tree324dcefc51545849da4825fb0eef73c39a330097 /sdl2/bindings.scm
parent0c8dc41d9f8da0dae8a171880efd9de3010328a1 (diff)
surface: Add SDL_CreateRGBSurface binding.
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r--sdl2/bindings.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm
index e394586..ceabf06 100644
--- a/sdl2/bindings.scm
+++ b/sdl2/bindings.scm
@@ -899,6 +899,10 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
;;; Surface
;;;
+(define-foreign sdl-create-rgb-surface
+ '* "SDL_CreateRGBSurface"
+ (list uint32 int int int uint32 uint32 uint32 uint32))
+
(define-foreign sdl-free-surface
void "SDL_FreeSurface" '(*))