blob: fa9db3bf38c406909eace972eee2c7f5c3fb12ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Minimal Graphics Library
Written in C and uses legacy OpenGL to support as many platforms as possible.\
Right now mgl only supports x11.
# Dependencies
## Build
`xlib`
## Runtime
`libglvnd (libGL.so)`
## TODO
Handle window close (window destroyed event, disconnected from server and socket becomes invalid (check select return?)).\
Bind texture and cache the bound texture to reduce calls to opengl.
Use gl triangle instead of quad.
Fix crash on exit.
|