The open source OpenXR runtime

xrt: xrt_device_get_tracked_pose return xrt_result_t

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2271>

+3 -1
+1
doc/changes/xrt/mr.2271.md
··· 1 + - xrt_device_get_tracked_pose returns xrt_result_t to improve error handling in the state tracker
+2 -1
src/xrt/include/xrt/xrt_device.h
··· 574 574 * 575 575 * @public @memberof xrt_device 576 576 */ 577 - static inline void 577 + static inline xrt_result_t 578 578 xrt_device_get_tracked_pose(struct xrt_device *xdev, 579 579 enum xrt_input_name name, 580 580 int64_t at_timestamp_ns, 581 581 struct xrt_space_relation *out_relation) 582 582 { 583 583 xdev->get_tracked_pose(xdev, name, at_timestamp_ns, out_relation); 584 + return XRT_SUCCESS; 584 585 } 585 586 586 587 /*!