From b237543e4287be8bfbcd6bfc392aa81e305d7aec Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 30 Sep 2023 17:59:51 -0400 Subject: video: Add SDL_GL_MakeCurrent binding. --- 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 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" '(*)) -- cgit v1.2.3