TL;DR: I'm not getting the correct OpenGL version from Allegro.
On my iMac, using an OpenGL profile viewer, I have the following specs:
Relevant code:
I'm only getting version "2.1 INTEL-10.32.28" instead of 3.0 or 4.1 (either of which would seem correct to me).
I've experimented with both the ALLGRO_FULLSCREEN and ALLEGRO_FULLSCREEN_WINDOW flags as well as including ALLEGRO_OPENGL_FORWARD_COMPATIBLE, neither of which has affected the version of my context. Any ideas?
Bad news: those flags and settings are ignored, you'll always get OpenGL 2.1.
Good news: maybe I can implement this. I tried today, and got as far as creating OpenGL 4.1 context, but bitmap creation didn't work... presumably you want that working .
Bad news: those flags and settings are ignored, you'll always get OpenGL 2.1.
Is that documented anywhere? I was under the impression that a display/context wouldn't be created at all if an ALLEGRO_REQUIRE condition failed.
In all honesty, you shouldn't put any special effort into updating the library for me, but I appreciate your willingness to.