The open source OpenXR runtime
0
fork

Configure Feed

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

xrt: xrt_device_set_output return xrt_result_t

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

+3 -1
+1
doc/changes/xrt/mr.2360.md
··· 1 + - xrt_device_set_output returns xrt_result_t to improve error handling in the state tracker
+2 -1
src/xrt/include/xrt/xrt_device.h
··· 741 741 * 742 742 * @public @memberof xrt_device 743 743 */ 744 - static inline void 744 + static inline xrt_result_t 745 745 xrt_device_set_output(struct xrt_device *xdev, enum xrt_output_name name, const struct xrt_output_value *value) 746 746 { 747 747 xdev->set_output(xdev, name, value); 748 + return XRT_SUCCESS; 748 749 } 749 750 750 751 static inline xrt_result_t