Skip to content
Snippets Groups Projects
Commit d09f9c0d authored by Perttu Ahola's avatar Perttu Ahola
Browse files

made dtime jitter compare value and fps calculation a bit faster changing

parent dd22ea05
No related branches found
No related tags found
No related merge requests found
......@@ -1099,7 +1099,7 @@ void the_game(
*/
static f32 dtime_avg1 = 0.0;
dtime_avg1 = dtime_avg1 * 0.98 + dtime * 0.02;
dtime_avg1 = dtime_avg1 * 0.96 + dtime * 0.04;
f32 dtime_jitter1 = dtime - dtime_avg1;
static f32 dtime_jitter1_max_sample = 0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment