st/oxr: support different handtracker

There is another handtracker type in spec.
And also we can support other jointCount handtracker.
So checking this default value is not necessary.
This commit is contained in:
jungjik lee 2022-06-10 05:34:00 +09:00 committed by Moses Turner
parent 10c72d4272
commit d6cc662d11

View file

@ -382,11 +382,6 @@ oxr_xrCreateHandTrackerEXT(XrSession session,
return oxr_error(&log, XR_ERROR_VALIDATION_FAILURE, "Invalid hand value %d\n", createInfo->hand);
}
if (createInfo->handJointSet != XR_HAND_JOINT_SET_DEFAULT_EXT) {
return oxr_error(&log, XR_ERROR_VALIDATION_FAILURE, "Invalid handJointSet value %d\n",
createInfo->handJointSet);
}
ret = oxr_hand_tracker_create(&log, sess, createInfo, &hand_tracker);
if (ret != XR_SUCCESS) {
return ret;