1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Tweak OpenXR alert to mention WMR only on Windows

WMR isn't supported on non-Windows platforms, so there's no point
in mentioning it in the error message as it's not a possible
cause for OpenXR not initializing.
This commit is contained in:
Hugo Locurcio
2024-03-28 06:17:54 +01:00
parent d2f9245ddc
commit e334bf6df4

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);