diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:51:08 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:51:08 +0100 |
commit | 4245f1d43ff0370fb5ea53649da740bbf06b62c9 (patch) | |
tree | a5c021a8b8ee30a9d843dd27c5a3d5b3680abd40 /main | |
parent | ac33b6e66ab5ef354df32fef90e3fd081c16b011 (diff) |
try harder to fix fps display
Diffstat (limited to 'main')
-rw-r--r-- | main/draw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 246d15af..d9e3195c 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -114,8 +114,8 @@ void main_impl::drawEvent() float dt = timeline.previousFrameDuration(); if (dt > 0) { - const float RC1 = dt_expected.do_sleep ? 1.f : 1.f/5, - RC2 = 1.f/10; + const float RC1 = dt_expected.do_sleep ? 1.f : 1.f/4, + RC2 = 1.f/8; const float alpha1 = dt/(dt + RC1); const float alpha2 = dt/(dt + RC2); |