Fix T86122: Performance Debug View Viewport Not Working

The performance debug menu isn't used that often anymore as render doc
also show the timings. This patch will make sure that enabling the
performance debug view (21) does not crash blender.
This commit is contained in:
Jeroen Bakker
2021-03-02 14:25:52 +01:00
parent fece538e3d
commit ca2044f72b

View File

@@ -151,7 +151,6 @@ void DRW_stats_group_end(void)
void DRW_stats_query_start(const char *name)
{
GPU_debug_group_begin(name);
drw_stats_timer_start_ex(name, false);
drw_stats_timer_start_ex(name, true);
}