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:
- al_set_display_icon() from executable (2)
- Bad scaling with al_set_display_icon() (1)
- Having Trouble with exit(1) - Stalling Program
- Multiple layer scrolling problem
- window icon
- Icon on Mac
- How to create a window-frame less game?
- Drawing onto bitmap crashes when resizing the display
- Keyboard Interrupting on Mouse Positions?
- SIGSEGV when attaching shaders
Other recent discussions: