You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a mac display wth the ALLEGRO_OPENGL_3_0 flag, set
the pixel attribute NSOpenGLPFAOpenGLProfile to NSOpenGLProfileVersion3_2Core
to enable modern OpenGL. This conflicts with NSOpenGLPFAWindow, so that
is dropped.
Fix checking for ALLEGRO_RENDER_METHOD in the required options to enable
NSOpenGLPFAAccelerated. I'm not sure if that makes a difference, but the
old code was using the option as a value and not a bit offset.
Duplicate the shaders in GLSL 3.3+ syntax (adding a _gl3 suffix to the
static variables). Check the shader language version, and select the
_gl3 versions when using a version != 1.20 on macos.
When compiling the shaders on macos, check for the supported shader
version. If != 1.20, insert a #version line based on the value returned
by the OpenGL context.
0 commit comments