The open source OpenXR runtime
0
fork

Configure Feed

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

u/logging: add U_LOG_XDEV_UNSUPPORTED_OUTPUT

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

Simon Zeni 24e3ca2c cd278d8f

+8
+8
src/xrt/auxiliary/util/u_logging.h
··· 497 497 U_LOG_XDEV_IFL_E(xdev, cond_level, "Unsupported input: %s", sink.buffer); \ 498 498 } while (false); 499 499 500 + #define U_LOG_XDEV_UNSUPPORTED_OUTPUT(xdev, cond_level, name) \ 501 + do { \ 502 + struct u_pp_sink_stack_only sink; \ 503 + u_pp_delegate_t dg = u_pp_sink_stack_only_init(&sink); \ 504 + u_pp_xrt_output_name(dg, name); \ 505 + U_LOG_XDEV_IFL_E(xdev, cond_level, "Unsupported output: %s", sink.buffer); \ 506 + } while (false); 507 + 500 508 /*! 501 509 * @} 502 510 */