You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
state_label->set_text(TTR("Game embedding not available on your OS."));
496
+
if (DisplayServer::get_singleton()->get_name() == "Wayland") {
497
+
state_label->set_text(TTR("Game embedding not available on Wayland.\nWayland can be disabled in the Editor Settings (Run > Platforms > Linux/*BSD > Prefer Wayland)."));
498
+
} else {
499
+
state_label->set_text(TTR("Game embedding not available on your OS."));
500
+
}
501
+
break;
502
+
case EMBED_NOT_AVAILABLE_PROJECT_DISPLAY_DRIVER:
503
+
state_label->set_text(vformat(TTR("Game embedding not available for the Display Server: '%s'.\nDisplay Server can be modified in the Project Settings (Display > Display Server > Driver)."), GLOBAL_GET("display/display_server/driver")));
493
504
break;
494
505
case EMBED_NOT_AVAILABLE_MINIMIZED:
495
506
state_label->set_text(TTR("Game embedding not available when the game starts minimized.\nConsider overriding the window mode project setting with the editor feature tag to Windowed to use game embedding while leaving the exported project intact."));
0 commit comments