chickadee » sdl2 » create-rgb-surface*

create-rgb-surface* flags width height depth rmask gmask bmask amaskprocedure

See SDL_CreateRGBSurface.

Returns a new unmanaged sdl2:surface with the given properties. You must call free-surface! when you are done with it.

See make-surface for a more convenient interface.

Signals an exception of kind (exn sdl2) if the surface cannot be created.