mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
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:
parent
10c72d4272
commit
d6cc662d11
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue