Browse Source

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

Tweak OpenXR alert to mention WMR only on Windows
Rémi Verschelde 1 year ago
parent
commit
1469db5e58
1 changed files with 3 additions and 1 deletions
  1. 3 1
      modules/openxr/register_types.cpp

+ 3 - 1
modules/openxr/register_types.cpp

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