This commit is contained in:
Nishi 2026-05-06 17:56:50 +09:00
commit fdb27599b6

View file

@ -1601,6 +1601,12 @@ static int MwLLWaylandCallInitImpl(void) {
loadWayland |= (getenv("WAYLAND_DISPLAY") != NULL);
}
#ifdef MW_OPENGL
if(getenv("WSLENV") || getenv("WSL_DISTRO_NAME")){
loadWayland = 0;
}
#endif
if(loadWayland) {
if(wayland_load_funcs()) {
return 1;