diff options
Diffstat (limited to 'source/blender/draw/intern/draw_manager_profiling.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_profiling.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/draw/intern/draw_manager_profiling.c b/source/blender/draw/intern/draw_manager_profiling.c index 70fe12270f5..80ea7bf654d 100644 --- a/source/blender/draw/intern/draw_manager_profiling.c +++ b/source/blender/draw/intern/draw_manager_profiling.c @@ -129,8 +129,6 @@ static void drw_stats_timer_start_ex(const char *name, const bool is_query) } } -/* Use this to group the queries. It does NOT keep track - * of the time, it only sum what the queries inside it. */ void DRW_stats_group_start(const char *name) { drw_stats_timer_start_ex(name, false); @@ -147,7 +145,6 @@ void DRW_stats_group_end(void) } } -/* NOTE: Only call this when no sub timer will be called. */ void DRW_stats_query_start(const char *name) { GPU_debug_group_begin(name); @@ -257,8 +254,7 @@ void DRW_stats_draw(const rcti *rect) /* Engines rows */ char time_to_txt[16]; - DRW_ENABLED_ENGINE_ITER(DST.view_data_active, engine, data) - { + DRW_ENABLED_ENGINE_ITER (DST.view_data_active, engine, data) { u = 0; draw_stat_5row(rect, u++, v, engine->idname, sizeof(engine->idname)); |