st/oxr: Don't break on function unsupported errors.

This commit is contained in:
Ryan Pavlik 2019-06-05 14:13:47 -05:00
parent 4c6de83ea9
commit 052728d515

View file

@ -93,7 +93,8 @@ oxr_error(struct oxr_logger *logger, XrResult result, const char *fmt, ...)
va_end(args); va_end(args);
fprintf(stderr, "\n"); 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. /// Trigger a debugger breakpoint.
XRT_DEBUGBREAK(); XRT_DEBUGBREAK();
} }