aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2b866e35a5e5a585bc43ff22908877fc7180f85a (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.
# Dependencies
## Build
`x11, libxrender, libxrandr`
## Runtime
`libglvnd (libGL.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.