diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-01-09 08:47:39 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-01-09 08:47:39 -0500 |
commit | 65c8e4d0b0ec62f6d9bc4ea5618535ed13b2101b (patch) | |
tree | ca8545f85511f5260ce857e43e1ae00570b5c087 /sdl2/bindings.scm | |
parent | 20524b26a638983d2d6dea80b6ea772cbecd944c (diff) |
video: Add SDL_SetWindowFullscreen binding.
* sdl2/bindings.scm (sdl-set-window-fullscreen): New procedure.
* sdl2/video.scm (set-window-fullscreen!): New procedure.
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r-- | sdl2/bindings.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm index b6f9431..e394586 100644 --- a/sdl2/bindings.scm +++ b/sdl2/bindings.scm @@ -165,6 +165,9 @@ RETURN-TYPE and accept arguments of ARG-TYPES." (define-foreign sdl-set-window-size void "SDL_SetWindowSize" (list '* int int)) +(define-foreign sdl-set-window-fullscreen + int "SDL_SetWindowFullscreen" (list '* uint32)) + (define-foreign sdl-gl-create-context '* "SDL_GL_CreateContext" '(*)) |