mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
Fix comments
This commit is contained in:
parent
9be02c905b
commit
71dfe17dcc
5
run.go
5
run.go
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user