Dependancies
- GLAD - Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator.
- OpenGL - Cross-language, cross-platform API for rendering 2D and 3D vector graphics.
- Warning
- OpenGL was deprecated in macOS 10.14.
if (Wayland) use EGL;
else if (supports EGL + GL) use EGL;
else fallback to GLX;
Global arch
EGL
NSGL