From b4f168ee72fecd8cc97d87ee032ea47283585f46 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 30 Sep 2023 18:16:01 -0400 Subject: video: Fix SDL_GL_MakeCurrent return type. --- sdl2/bindings.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdl2/bindings.scm') diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm index 058e342..7db2501 100644 --- a/sdl2/bindings.scm +++ b/sdl2/bindings.scm @@ -235,7 +235,7 @@ RETURN-TYPE and accept arguments of ARG-TYPES." void "SDL_GL_DeleteContext" '(*)) (define-foreign sdl-gl-make-current - void "SDL_GL_MakeCurrent" '(* *)) + int "SDL_GL_MakeCurrent" '(* *)) (define-foreign sdl-gl-swap-window void "SDL_GL_SwapWindow" '(*)) -- cgit v1.2.3