chickadee » sdl-base » sdl-display-format-alpha

sdl-display-format-alpha sdl-display-format-alphaprocedure

Creates a new surface with the same format as the display format, with alpha channel, and with width and height same as sdl-surface, and then copies sdl-surface's content into the new surface. If colour key or alpha value are needed, they should be set before calling this procedure. If colour key is set, it will be converted into alpha channel.