chickadee » sdl2 » create-rgb-surface-with-format*

create-rgb-surface-with-format* flags width height depth formatprocedure

Returns a new unmanaged sdl2:surface with the given properties. See SDL_CreateRGBSurfaceWithFormat.

See make-surface for a more convenient interface.

Requires SDL 2.0.5 or higher, and sdl2 egg 0.4.0 or higher.