From bf0015b8ab3ee66a29c5622bef870a3d82fddc67 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 28 Jun 2023 19:53:33 +0100 Subject: [PATCH] st/oxr: Send logging to OutputDebugStringA even if we aren't printing to stderr This was intended all along, it's worse on Windows since we don't by default print to stderr, so we never printed there. --- src/xrt/state_trackers/oxr/oxr_logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/state_trackers/oxr/oxr_logger.c b/src/xrt/state_trackers/oxr/oxr_logger.c index bb896c3b7..0659318ec 100644 --- a/src/xrt/state_trackers/oxr/oxr_logger.c +++ b/src/xrt/state_trackers/oxr/oxr_logger.c @@ -27,7 +27,7 @@ #ifdef XRT_OS_WINDOWS #define DEFAULT_NO_STDERR (true) -#define CHECK_SHOULD_NOT_PRINT (debug_get_bool_option_no_printing_stderr()) +#define CHECK_SHOULD_NOT_PRINT (debug_get_bool_option_no_printing()) #else #define DEFAULT_NO_STDERR (false) #define CHECK_SHOULD_NOT_PRINT (debug_get_bool_option_no_printing() || debug_get_bool_option_no_printing_stderr())