mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
Update comments
This commit is contained in:
parent
3cd9dfd800
commit
aa06c5ffa5
5
run.go
5
run.go
@ -55,9 +55,8 @@ func setDrawingSkipped(skipped bool) {
|
||||
atomic.StoreInt32(&isDrawingSkipped, v)
|
||||
}
|
||||
|
||||
// IsDrawingSkipped returns true if the game is running too slowly to keep 60 FPS of rendering.
|
||||
// The game screen is not updated when IsDrawingSkipped is true.
|
||||
// It is recommended to skip heavy processing, especially drawing screen,
|
||||
// IsDrawingSkipped returns true if rendering result is not adopted.
|
||||
// It is recommended to skip drawing images or screen
|
||||
// when IsDrawingSkipped is true.
|
||||
//
|
||||
// The typical code with IsDrawingSkipped is this:
|
||||
|
Loading…
Reference in New Issue
Block a user