The open source OpenXR runtime
0
fork

Configure Feed

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

st/prober: Quit without crashing if no driver is available

authored by

Gabriele Boccone and committed by
Jakob Bornecrantz
b500272c e221f836

+6 -3
+6 -3
src/xrt/state_trackers/prober/p_prober.c
··· 1068 1068 if (xret == XRT_SUCCESS) { 1069 1069 print_system_devices(dg, *out_xsysd); 1070 1070 } 1071 + } else { 1072 + u_pp(dg, "\n\tNo builder can be used to create a head device"); 1073 + xret = XRT_ERROR_DEVICE_CREATION_FAILED; 1074 + } 1071 1075 1072 - u_pp(dg, "\n\tResult: "); 1073 - u_pp_xrt_result(dg, xret); 1074 - } 1076 + u_pp(dg, "\n\tResult: "); 1077 + u_pp_xrt_result(dg, xret); 1075 1078 1076 1079 P_INFO(p, "%s", sink.buffer); 1077 1080