chickadee » sdl2 » create-rgb-surface*

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

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

See make-surface for a more convenient interface.

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