Minimal Graphics Library
Written in C and uses OpenGL 2.1 to support as many platforms as possible.
Right now mgl only supports x11. Mgl allows you to choose glx or egl at runtime.
Dependencies
Build
x11, libxrender, libxrandr
Runtime
libglvnd (libGL.so, libEGL.so)
Notes
Every window get function is cached from the last event poll, no calls to x11 is made.
Only one window can be created and used at once.
mgl needs to be initialized first and then a window created, before other functions are called.