mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-04 05:36:58 +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) {
|
} else if (topLevelUserPath == inst->path_cache.gamepad) {
|
||||||
interactionProfile->interactionProfile = sess->gamepad;
|
interactionProfile->interactionProfile = sess->gamepad;
|
||||||
} else {
|
} else {
|
||||||
return oxr_error(log, XR_ERROR_HANDLE_INVALID,
|
return oxr_error(log, XR_ERROR_RUNTIME_FAILURE,
|
||||||
"Not implemented");
|
"Top level path not handled?!");
|
||||||
}
|
}
|
||||||
|
|
||||||
return XR_SUCCESS;
|
return XR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue