mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
st/oxr: Better error message for unhandled case in xrGetCurrentInteractionProfile
This commit is contained in:
parent
18957e0636
commit
b0593d7012
|
@ -400,9 +400,10 @@ oxr_action_get_current_interaction_profile(
|
|||
} else if (topLevelUserPath == inst->path_cache.gamepad) {
|
||||
interactionProfile->interactionProfile = sess->gamepad;
|
||||
} else {
|
||||
return oxr_error(log, XR_ERROR_HANDLE_INVALID,
|
||||
"Not implemented");
|
||||
return oxr_error(log, XR_ERROR_RUNTIME_FAILURE,
|
||||
"Top level path not handled?!");
|
||||
}
|
||||
|
||||
return XR_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue