DRW: Fix debug performance stats

This commit is contained in:
Clément Foucault 2020-05-11 16:55:25 +02:00
parent 4e1a6b48e7
commit e3861b949a
1 changed files with 2 additions and 0 deletions

View File

@ -1507,6 +1507,8 @@ void DRW_draw_render_loop_ex(struct Depsgraph *depsgraph,
/* Fix 3D view being "laggy" on macos and win+nvidia. (See T56996, T61474) */
GPU_flush();
DRW_stats_reset();
DRW_draw_callbacks_post_scene();
if (WM_draw_region_get_bound_viewport(region)) {