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)
- Keyboard Interrupting on Mouse Positions?
- SIGSEGV when attaching shaders
- crash on destroy_display in OSX 10.9
- Windows Display Icon
- Audio fals to install sometimes
- My game bugs out when in release mode?
- Only 1 arrow at a time can collide
- My kangaroos are high...
Other recent discussions: