mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
Fix comments
This commit is contained in:
parent
2b8e98cfbc
commit
2a8bcbfa18
3
run.go
3
run.go
@ -28,8 +28,7 @@ var runContext = &struct {
|
|||||||
newScreenScale int
|
newScreenScale int
|
||||||
}{}
|
}{}
|
||||||
|
|
||||||
// CurrentFPS returns the current number of rendering per second.
|
// CurrentFPS returns the current number of frames per second.
|
||||||
// Be careful this is different from the 'game' FPS (the number of calling your callback (f in Run) per second).
|
|
||||||
func CurrentFPS() float64 {
|
func CurrentFPS() float64 {
|
||||||
return runContext.fps
|
return runContext.fps
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user