From b0a88ddd0138ebee99edfed4fd17e33643761c18 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 24 Jul 2009 06:48:54 +0000 Subject: [PATCH] Do not smooth the render time; the calling application can do it. --- caca/graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/caca/graphics.c b/caca/graphics.c index 450d4f0..507f9c0 100644 --- a/caca/graphics.c +++ b/caca/graphics.c @@ -173,8 +173,8 @@ int caca_refresh_display(caca_display_t *dp) _caca_sleep(IDLE_USEC); } - /* Update the sliding mean of the render time */ - dp->rendertime = (7 * dp->rendertime + ticks) / 8; + /* Update the render time */ + dp->rendertime = ticks; dp->lastticks = ticks - dp->delay;