The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

xrt: xrt_device_get_view_poses return xrt_result_t

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

Simon Zeni b494e170 9f9d2627

+3 -1
+1
doc/changes/xrt/mr.2365.md
··· 1 + - xrt_device_get_view_pose returns xrt_result_t to improve error handling in the state tracker
+2 -1
src/xrt/include/xrt/xrt_device.h
··· 814 814 * @copydoc xrt_device::get_view_poses 815 815 * @public @memberof xrt_device 816 816 */ 817 - static inline void 817 + static inline xrt_result_t 818 818 xrt_device_get_view_poses(struct xrt_device *xdev, 819 819 const struct xrt_vec3 *default_eye_relation, 820 820 int64_t at_timestamp_ns, ··· 825 825 { 826 826 xdev->get_view_poses(xdev, default_eye_relation, at_timestamp_ns, view_count, out_head_relation, out_fovs, 827 827 out_poses); 828 + return XRT_SUCCESS; 828 829 } 829 830 830 831 /*!