From 052728d5156a6f784c5cca69fbe4c39fd3921f14 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 5 Jun 2019 14:13:47 -0500 Subject: [PATCH] st/oxr: Don't break on function unsupported errors. --- src/xrt/state_trackers/oxr/oxr_logger.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/oxr/oxr_logger.cpp b/src/xrt/state_trackers/oxr/oxr_logger.cpp index d94a314a2..5f012242d 100644 --- a/src/xrt/state_trackers/oxr/oxr_logger.cpp +++ b/src/xrt/state_trackers/oxr/oxr_logger.cpp @@ -93,7 +93,8 @@ oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt, ...) va_end(args); fprintf(stderr, "\n"); - if (debug_get_bool_option_break_on_error()) { + if (debug_get_bool_option_break_on_error() && + result != XR_ERROR_FUNCTION_UNSUPPORTED) { /// Trigger a debugger breakpoint. XRT_DEBUGBREAK(); }