mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-17 04:15:44 +00:00
st/oxr: Check XrHandJointLocationsEXT::jointLocations for NULL
This commit is contained in:
parent
3e028a7952
commit
f326ec8fc3
|
@ -359,6 +359,7 @@ oxr_xrLocateHandJointsEXT(XrHandTrackerEXT handTracker,
|
|||
OXR_VERIFY_HAND_TRACKER_AND_INIT_LOG(&log, handTracker, hand_tracker, "xrLocateHandJointsEXT");
|
||||
OXR_VERIFY_ARG_TYPE_AND_NOT_NULL(&log, locateInfo, XR_TYPE_HAND_JOINTS_LOCATE_INFO_EXT);
|
||||
OXR_VERIFY_ARG_TYPE_AND_NOT_NULL(&log, locations, XR_TYPE_HAND_JOINT_LOCATIONS_EXT);
|
||||
OXR_VERIFY_ARG_NOT_NULL(&log, locations->jointLocations);
|
||||
OXR_VERIFY_SPACE_NOT_NULL(&log, locateInfo->baseSpace, spc);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue