Skip to content

Commit

Permalink
Merge pull request #89968 from Calinou/xr-startup-alert-windows
Browse files Browse the repository at this point in the history
Tweak OpenXR alert to mention WMR only on Windows
  • Loading branch information
akien-mga committed Apr 4, 2024
2 parents d604899 + e334bf6 commit 1469db5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/openxr/register_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1469db5

Please sign in to comment.