mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
clock: Remove unused variables
This commit is contained in:
parent
c2bc6408a3
commit
0eb5ef0141
@ -113,8 +113,6 @@ func updateFPSAndTPS(now int64, count int) {
|
||||
|
||||
const UncappedTPS = -1
|
||||
|
||||
var previousNow int64
|
||||
|
||||
// Update updates the inner clock state and returns an integer value
|
||||
// indicating how many times the game should update based on given tps.
|
||||
// tps represents TPS (ticks per second).
|
||||
@ -136,6 +134,5 @@ func Update(tps int) int {
|
||||
}
|
||||
updateFPSAndTPS(n, c)
|
||||
|
||||
previousNow = n
|
||||
return c
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user