Merge pull request #89968 from Calinou/xr-startup-alert-windows

Tweak OpenXR alert to mention WMR only on Windows
This commit is contained in:
Rémi Verschelde 2024-04-04 14:35:37 +02:00
commit 1469db5e58
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -135,7 +135,9 @@ void initialize_openxr_module(ModuleInitializationLevel p_level) {
const char *init_error_message =
"OpenXR was requested but failed to start.\n"
"Please check if your HMD is connected.\n"
"When using Windows MR please note that WMR only has DirectX support, make sure SteamVR is your default OpenXR runtime.\n"
#ifdef WINDOWS_ENABLED
"When using Windows Mixed Reality, note that WMR only has DirectX support. Make sure SteamVR is your default OpenXR runtime.\n"
#endif
"Godot will start in normal mode.\n";
WARN_PRINT(init_error_message);