Hi guys, I have a problem with the icon. I usually use a mac, now with Catalina beta, and if I use these instructions:
the screen goes black, the icon is loaded, and the game works (I entered some cout and I see that the game below continues to run).
The nice thing is that if I run the same code in a virtual machine with ubuntu 19.04 everything works perfectly, both the icon and the drawing on the screen.
How can I deal with this apparent incompatibility problem between Allegro and MacOS?
(It has nothing to do with the fact that mac os is in beta because it has always done so)
I tried the Allegro example program ex_icon and it worked OK (on Mojave) - maybe look at the source for that and see if there's some difference between the way it does it and the way you're doing it?
The examples work in the sense that they load the icon. But they don't have anything drawn on the screen, so I can't test them as they are. I modified the ex_icon.c file in this way
and behaves the same way.
That is odd because your code worked OK for me.
Using allegro 5.2.5
Are you saying it never worked, even on previous versions of MacOS?