Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
farzher committed Mar 6, 2023
1 parent a9f7d59 commit c98b574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions.jai
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fps_man: struct {
if elapsed < .5 return;

last_time = get_time();
fps = xx floor(.5+ (frame_count - last_frame_count) / elapsed );
fps = round( (frame_count - last_frame_count) / elapsed );
last_frame_count = frame_count;
ready = true;
}
Expand Down

0 comments on commit c98b574

Please sign in to comment.