aggregate profiler stats every 120 frames by default

This commit is contained in:
Anthony Pesch 2016-12-29 23:13:37 -08:00
parent f6ccc7b405
commit bf22739dd2
1 changed files with 3 additions and 0 deletions

View File

@ -289,6 +289,9 @@ struct microprofile *mp_create(struct window *window) {
/* render time / average time bars by default */
g_MicroProfile.nBars |= MP_DRAW_TIMERS | MP_DRAW_AVERAGE | MP_DRAW_CALL_COUNT;
/* aggregate stats every 120 frames by default */
g_MicroProfile.nAggregateFlip = 120;
/* register the font texture */
mp->font_texture = rb_create_texture(
rb, PXL_RGBA, FILTER_NEAREST, WRAP_CLAMP_TO_EDGE, WRAP_CLAMP_TO_EDGE, 0,