The recent commits have broken the build on macOS. That is related to the explicit version of OpenGL being selected, and the fact that OpenGL version 4.3 is not supported by macOS.
Because we explicitly want to support macOS, we need to drop OpenGL to the maximum version supported by modern macOS.
Eventually we can add a version that supports Metal in macOS and modern OpenGL in other platforms, but for the time being let's remain in 4.0.
The recent commits have broken the build on macOS. That is related to the explicit version of OpenGL being selected, and the fact that OpenGL version 4.3 is not supported by macOS.
Because we explicitly want to support macOS, we need to drop OpenGL to the maximum version supported by modern macOS.
Eventually we can add a version that supports Metal in macOS and modern OpenGL in other platforms, but for the time being let's remain in 4.0.