st/oxr: Actually return invalid path error in sync actions

This commit is contained in:
Christoph Haag 2020-07-31 02:58:14 +02:00
parent d06f1c9ef9
commit 5d4a49a1c7

View file

@ -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,