Skip to content

Add al_blend_color #1674

@SiegeLord

Description

@SiegeLord

al_blend_color(ALLEGRO_COLOR c1, ALLEGRO_COLOR c2, float factor)

Note that this should go via the linear space (i.e. internally it'd call al_color_rgb_to_linear, blend and then convert back).

Optional: Add a version that does not do the sRGB conversion, although I can't imagine it being useful that often. Allegro colors are sRGB, and should be treated as such.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions