mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
st/oxr: Don't break on function unsupported errors.
This commit is contained in:
parent
4c6de83ea9
commit
052728d515
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue