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

This commit is contained in:
Christoph Haag authored and Jakob Bornecrantz committed 2023-11-13 17:11:57 +00:00
1 parent 4dcc8cfff7
commit 7efd580a70
1 file changed
+2 -1
+2 -1
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++) {