| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Was trying to wrap the wrong thing. -_-
* sdl2/surface.scm (convert-surface-format): Wrap the new pointer, not
the old surface object. Oops.
|
|
|
|
|
|
| |
* sdl2/bindings.scm: Add a ton of pixel format constants.
* sdl2/surface.scm: (symbol->sdl-pixel-format, convert-surface-format):
New procedures.
|
|
|
|
|
|
|
| |
* sdl2/surface.scm (pointer-int-ref, surface-width, surface-height)
(surface-pitch, surface-pixels): New procedures.
(%int-size, %pointer-size, %width-offset, %height-offset, %pitch-offset)
(%pixels-offset): New variables.
|
|
|
|
|
| |
* sdl2/surface.scm (<surface>): s/context/surface/ in record type
printer.
|
|
* sdl2/bindings.scm (sdl-rw-from-file, sdl-free-surface,
sdl-load-bmp-rw): New procedures.
* sdl2/surface.scm: New file.
* Makefile.am (SOURCES): Add it.
|