OpenGL core profile missing
I am trying to build an application using modern OpenGL, but it seems like the Core Profile is missing, so it uses just OpenGL 2.1.
This is a read-out from the terminal
% glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Inc.
OpenGL renderer string: Intel Iris OpenGL Engine
OpenGL version string: 2.1 INTEL-16.5.4
OpenGL shading language version string: 1.20
OpenGL extensions:
I am on a MacBook Pro 13-inch, Mid 2014, and running Big Sur.
I have searched like everywhere, so I would be ever so grateful if someone could help me with this, or at least explain why it seems to be missing from my system.
Thank you for any response.
MacBook Pro 13″, macOS 11.6