Allegro structures as parameters
I can't seem to pass ALLEGRO_DISPLAY as a function parameter, not sure why. Is it a limitation or did I just simply do something wrong? If so, could you write an example?
Thread #617276. Printed from Allegro.cc
You can use a pointer to an ALLEGRO_DISPLAY. But the actual struct definition is probably internal, meaning you can't work with them as values.