summaryrefslogtreecommitdiff
path: root/sdl2/video.scm
Commit message (Collapse)AuthorAgeFilesLines
* video: Add SDL_GL_SetSwapInterval binding.David Thompson2016-01-081-1/+21
| | | | | * sdl2/bindings.scm (sdl-gl-set-swap-interval): New procedure. * sdl2/video.scm (set-gl-swap-interval!): New procedure.
* video: Add SDL_GL_SetAttribute binding.David Thompson2016-01-021-1/+55
| | | | | * sdl2/bindings.scm (sdl-get-set-attribute): New procedure. * sdl2/video.scm (set-gl-attribute!): New procedure.
* window: Allow unspecified and centered window positions.David Thompson2015-12-221-4/+16
| | | | | | | | * sdl2/bindings.scm (SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_UNDEFINED): New variables. * sdl2/video.scm (make-window): Accept #f and 'center' as valid coordinates for undefined and centered positioning, respectively. Use an undefined position by default.
* window: Improve call-with-window.David Thompson2015-12-141-9/+7
| | | | | * sdl2/video.scm (call-with-window): Use a pre-existing window object instead of making a new one.
* Remove "sdl-" prefix from symbols in window module.David Thompson2015-12-141-69/+69
|
* Initial commit.David Thompson2015-10-061-0/+256
Let's do this!