diff options
Diffstat (limited to 'source/blender/draw/intern/draw_manager_profiling.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_profiling.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager_profiling.c b/source/blender/draw/intern/draw_manager_profiling.c index 03811688982..51c0f4c4640 100644 --- a/source/blender/draw/intern/draw_manager_profiling.c +++ b/source/blender/draw/intern/draw_manager_profiling.c @@ -326,7 +326,9 @@ void DRW_stats_draw(rcti *rect) DRWTimer *timer_parent = (timer->lvl > 0) ? &DTP.timers[lvl_index[timer->lvl - 1]] : NULL; /* Only display a number of lvl at a time */ - if ((G.debug_value - 21) < timer->lvl) continue; + if ((G.debug_value - 21) < timer->lvl) { + continue; + } BLI_assert(timer->lvl < MAX_NESTED_TIMER); lvl_index[timer->lvl] = i; |