summaryrefslogtreecommitdiff
path: root/sdl2/bindings.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-09-30 17:59:51 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-09-30 17:59:51 -0400
commitb237543e4287be8bfbcd6bfc392aa81e305d7aec (patch)
treeaaf4e8ee8b8e3192b4af4cc51809e9c77d4062b6 /sdl2/bindings.scm
parentf7e5de964d82c036f029a458de14864eaca9e290 (diff)
video: Add SDL_GL_MakeCurrent 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 cb8dd97..058e342 100644
--- a/sdl2/bindings.scm
+++ b/sdl2/bindings.scm
@@ -234,6 +234,9 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
(define-foreign sdl-gl-delete-context
void "SDL_GL_DeleteContext" '(*))
+(define-foreign sdl-gl-make-current
+ void "SDL_GL_MakeCurrent" '(* *))
+
(define-foreign sdl-gl-swap-window
void "SDL_GL_SwapWindow" '(*))