Internal: Disable debug logs macro if IMGUI_DISABLE_DEBUG_TOOLS is defined. (#5901)

+ needed to rework clipper code to avoid "The 'then' statement is equivalent to the 'else' statement." PVS Studio warning.
This commit is contained in:
Teselka
2022-11-20 23:45:55 +02:00
committed by ocornut
parent bd96f6eac4
commit 969af7c773
3 changed files with 12 additions and 3 deletions

View File

@ -39,8 +39,10 @@ Breaking changes:
Other changes:
- Text: Fixed layouting of wrapped-text block when the last source line is above the
clipping region. Regression added in 1.89. (#5720, #5919)
- Text: fixed layouting of wrapped-text block when the last source line is above the
clipping region. Regression added in 1.89. (#5720, #5919)
- Misc: fixed parameters to IMGUI_DEBUG_LOG() not being dead-stripped when building
with IMGUI_DISABLE_DEBUG_TOOLS is used. (#5901) [@Teselka]
-----------------------------------------------------------------------