blob: 91e07c93410f81fe27bd230ce90812e54a6fdbc6 (
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, 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.
|