al_set_display_icon

void al_set_display_icon(ALLEGRO_DISPLAY *display, ALLEGRO_BITMAP *icon)
Introduced in 5.0.0

Changes the icon associated with the display (window).

Note: If the underlying OS can not use an icon with the size of the provided bitmap, it will be scaled.

See also: al_set_window_title

Examples: ex_icon


Most helpful discussions:

Other recent discussions: