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