mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
st/oxr: Actually return invalid path error in sync actions
This commit is contained in:
parent
d06f1c9ef9
commit
5d4a49a1c7
|
@ -47,9 +47,12 @@ oxr_xrSyncActions(XrSession session, const XrActionsSyncInfo *syncInfo)
|
|||
OXR_VERIFY_ACTIONSET_NOT_NULL(
|
||||
&log, syncInfo->activeActionSets[i].actionSet, act_set);
|
||||
|
||||
oxr_verify_subaction_path_sync(
|
||||
XrResult res = oxr_verify_subaction_path_sync(
|
||||
&log, sess->sys->inst,
|
||||
syncInfo->activeActionSets[i].subactionPath, i);
|
||||
if (res != XR_SUCCESS) {
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
return oxr_action_sync_data(&log, sess, syncInfo->countActiveActionSets,
|
||||
|
|
Loading…
Reference in a new issue