mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
st/oxr: CTS fix: return XR_SUCCESS for no action sets synced
This commit is contained in:
parent
4dcc8cfff7
commit
7efd580a70
|
@ -149,7 +149,8 @@ oxr_xrSyncActions(XrSession session, const XrActionsSyncInfo *syncInfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (syncInfo->countActiveActionSets == 0) {
|
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++) {
|
for (uint32_t i = 0; i < syncInfo->countActiveActionSets; i++) {
|
||||||
|
|
Loading…
Reference in a new issue