Nav: Added debug logging, extract bits of code into NavUpdateInitResult().

This commit is contained in:
ocornut
2020-09-01 18:33:51 +02:00
parent a456d17dfc
commit f4d062fa11
2 changed files with 27 additions and 13 deletions

View File

@ -163,7 +163,9 @@ namespace ImStb
// Debug Logging for selected systems. Remove the '((void)0) //' to enable.
//#define IMGUI_DEBUG_LOG_POPUP IMGUI_DEBUG_LOG // Enable log
//#define IMGUI_DEBUG_LOG_NAV IMGUI_DEBUG_LOG // Enable log
#define IMGUI_DEBUG_LOG_POPUP(...) ((void)0) // Disable log
#define IMGUI_DEBUG_LOG_NAV(...) ((void)0) // Disable log
// Static Asserts
#if (__cplusplus >= 201100)