mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 21:40:30 -07:00
Round FPS display up
This commit is contained in:
parent
9e79315172
commit
042bdca430
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ public abstract class GameShell extends Applet implements Runnable, FocusListene
|
|||
if (lastFpsIndex >= 5) {
|
||||
lastFpsIndex = 0;
|
||||
}
|
||||
framesPerSecond = total / 5;
|
||||
framesPerSecond = Math.ceil(total / 5);
|
||||
lastFpsUpdate = now;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue