surface: Add binding for SDL_ConvertSurfaceFormat.
authorDavid Thompson <dthompson2@worcester.edu>
Tue, 22 Dec 2015 14:00:20 +0000 (09:00 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Tue, 22 Dec 2015 14:00:20 +0000 (09:00 -0500)
commit8e8fe4275a0db47e31422324c144b2cebee5df63
tree469fa30d4a5b3bbc5757641d658acdccda0de620
parent5db39e02c1714a7390cbb71220107289886f42e8
surface: Add binding for SDL_ConvertSurfaceFormat.

* sdl2/bindings.scm: Add a ton of pixel format constants.
* sdl2/surface.scm: (symbol->sdl-pixel-format, convert-surface-format):
  New procedures.
sdl2/bindings.scm
sdl2/surface.scm