Hi I was just wondering because I looked into installing and using Allegro 5.2, I think, but I either get a segfault or null pointer with these to code lines:
and
I have tried the full source code on my PC and there it works perfectly meaning it can't be the code and I can't find anything regarding this subject on the internet.
Does it do the same on an Android phone or tablet?
Have you called al_init() before creating the display?
@DizzyEgg yes I have called it. Here is the full code in case you need more information:
Is 800x600 supported by your monitor? If not, the display could come back null.
Since Allegro5 works on Android, I'm going to guess it should work on Chrome OS as well, given a proper build, but I don't know for sure.