In Allegro 4 I was able to get an icon on my program's window by compiling a resource file with ALLEGRO_ICON ICON my_icon.ico in it. Allegro 5 provides the al_set_display_icon() function, but I am wondering, what is the best way to do it?
In my current project I have an icon file with multiple sizes of the icon I wish to use embedded in the executable using the above method, but that icon doesn't appear at the top of the window. Using the al_set_display_icon() function limits me to a single size, which may not look great on some configurations.
Is there any way for me to use the embedded icon as the display icon? If not, what size is the best to use with al_set_display_icon()?