blob: d952ba877a4c3f7b40b1464b8f0896a1c26985ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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, libGLX.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.
|