mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 18:52:44 +01:00
internal/clock: Remove unused variables
This commit is contained in:
parent
408cc1e833
commit
93f8c76310
@ -21,8 +21,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
frames int64
|
|
||||||
|
|
||||||
// lastSystemTime is the last system time in the previous Update.
|
// lastSystemTime is the last system time in the previous Update.
|
||||||
lastSystemTime int64
|
lastSystemTime int64
|
||||||
|
|
||||||
@ -87,7 +85,6 @@ func calcCountFromTPS(tps int64, now int64) int {
|
|||||||
count = 1
|
count = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
frames += int64(count)
|
|
||||||
if syncWithSystemClock {
|
if syncWithSystemClock {
|
||||||
lastSystemTime = now
|
lastSystemTime = now
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user