diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,12 +1,15 @@ # 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. +Mgl supports both x11 and wayland and allows you to choose either glx or egl at runtime. # Dependencies ## Build -`x11, libxrender, libxrandr` +`libx11, libxrender, libxrandr`\ +`wayland-client, wayland-egl, wayland-scanner` ## Runtime -`libglvnd (libGL.so, libEGL.so)` +`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.\ +Every window _get_ function is cached from the last event poll, no calls to x11/wayland 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. +mgl needs to be initialized first and then a window has to be created before other functions are called. +# TODO +Wayland support is not finished yet. Use MGL_WINDOW_SYSTEM_X11 for now in mgl_init.
\ No newline at end of file |