In my Rasperry Pi project, I've just updated from Allegro version 5.1.13 to 5.2.2. Now however, whenever I call al_create_display() it always returns null. I also noticed that al_get_num_display_modes() returns 0, not 1 as in version 5.1.13.
It also fails for allegro 5.2.1. When I revert to 5.1.13, and rebuild my code, it magically works again (i.e. al_create_display() returns a non-null value and my program can continue ok with it's graphics output), so I reckon it's a reasonable assumption that it's something to do with the Allegro version and not my program or the OS?
I have tried even with a very simple program (al_init() followed by al_create_display()) and it still doesn't work.
I'm using the very latest raspian image from the Raspberry Pi website.
Anyone else have this problem?
Thanks in advance,