summaryrefslogtreecommitdiff
path: root/sdl2/render.scm
Commit message (Collapse)AuthorAgeFilesLines
* render: Fix broken render-copy procedure.David Thompson2017-11-101-7/+7
| | | | | * sdl2/render.scm (render-copy): Make srcrect and dstrect optional and do not use nil? to check them.
* render: Add srcrect and dstrect arguments to render-copy.Jona2017-06-061-4/+7
| | | | | * sdl2/bindings.scm (sdl-rect): New variable. * sdl2/render.scm (render-copy): Add srcrect and dstrect arguments.
* Remove "sdl-" prefix from symbols in window module.David Thompson2015-12-141-1/+1
|
* Add renderer bindings.David Thompson2015-12-131-0/+133
* sdl2/bindings.scm (SDL_RENDERER_SOFTWARE, SDL_RENDERER_ACCELERATED, SDL_RENDERER_PRESENTVSYNC, SDL_RENDERER_TARGETTEXTURE): New variables. (sdl-create-renderer, sdl-destroy-renderer, sdl-render-clear, sdl-render-present, sdl-render-copy, sdl-create-texture-from-surface): New procedures. * sdl2/render.scm: New file. * Makefile.am (SOURCES): Add it.