diff options
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ presented(void *data, unsigned frame_count = 0; if (tll_length(term->window->on_outputs) > 0) { const struct monitor *mon = tll_front(term->window->on_outputs); - frame_count = (double)(diff.tv_sec * 1000000 + diff.tv_usec) / (1. / mon->refresh * 1000000.); + frame_count = (diff.tv_sec * 1000000. + diff.tv_usec) / (1000000. / mon->refresh); } presentation_statistics.total++; |
