st/oxr: CTS fix: return XR_SUCCESS for no action sets synced

This commit is contained in:
Christoph Haag 2023-11-13 16:39:58 +00:00 committed by Jakob Bornecrantz
parent 4dcc8cfff7
commit 7efd580a70

View file

@ -149,7 +149,8 @@ oxr_xrSyncActions(XrSession session, const XrActionsSyncInfo *syncInfo)
}
if (syncInfo->countActiveActionSets == 0) {
return oxr_error(&log, XR_ERROR_VALIDATION_FAILURE, "(syncInfo->countActiveActionSets == 0)");
// nothing to do
return XR_SUCCESS;
}
for (uint32_t i = 0; i < syncInfo->countActiveActionSets; i++) {