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