diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-04-18 15:14:31 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-04-18 15:14:31 +0200 |
commit | 5500ce377a0a552bfa858232f7086c197d0ab458 (patch) | |
tree | 491d9666e1535c4059b4ac37836517cf8b424867 /README.md | |
parent | 0e12a1d216b85c8e864cc2d7d18c3d18864542c5 (diff) |
Wayland rendering now works
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,12 +1,13 @@ # 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)` # 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. |