Fix comments

This commit is contained in:
Hajime Hoshi 2018-07-16 04:57:15 +09:00
parent 9be02c905b
commit 71dfe17dcc

5
run.go
View File

@ -541,9 +541,10 @@ func IsVsyncEnabled() bool {
// The initial value is true. // The initial value is true.
// By disabling vsync, the game works more efficiently but consumes more CPU. // By disabling vsync, the game works more efficiently but consumes more CPU.
// //
// Note that the state doesn't affect how many the run funciton is updated per second. // Note that the state doesn't affect TPS (ticks per second, i.e. how many the run funciton is
// updated per second).
// //
// SetVsyncEnabled doesn't work on mobiles so far. // SetVsyncEnabled does nothing on mobiles so far.
// //
// SetVsyncEnabled is concurrent-safe. // SetVsyncEnabled is concurrent-safe.
func SetVsyncEnabled(enabled bool) { func SetVsyncEnabled(enabled bool) {