mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-19 12:37:15 +00:00
b5d08a4833
GlCanvas currently doesn't support runtime selection of GDK backend [1]. Therefore to run Atlas under Wayland wxWidgets needs to be built with GLCANVAS_EGL which is usually not the case to support X11 at the same time. Check if the EGL backend is available and if not and running under Wayland force use of XWayland with the GLX backend. [1] https://github.com/wxWidgets/wxWidgets/issues/22325 Closes: #6939 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>