Commit f326ec8f authored by Christoph Haag's avatar Christoph Haag
Browse files

st/oxr: Check XrHandJointLocationsEXT::jointLocations for NULL

parent 3e028a79
...@@ -359,6 +359,7 @@ oxr_xrLocateHandJointsEXT(XrHandTrackerEXT handTracker, ...@@ -359,6 +359,7 @@ oxr_xrLocateHandJointsEXT(XrHandTrackerEXT handTracker,
OXR_VERIFY_HAND_TRACKER_AND_INIT_LOG(&log, handTracker, hand_tracker, "xrLocateHandJointsEXT"); 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, 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_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); OXR_VERIFY_SPACE_NOT_NULL(&log, locateInfo->baseSpace, spc);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment