mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Make it explicit about the goroutine for Game functions
This commit is contained in:
parent
73bf7a0939
commit
b7cd990bc3
2
run.go
2
run.go
@ -135,6 +135,8 @@ func (i *imageDumperGame) Layout(outsideWidth, outsideHeight int) (screenWidth,
|
||||
// game's Draw function is called every frame to draw the screen.
|
||||
// game's Layout function is called when necessary, and you can specify the logical screen size by the function.
|
||||
//
|
||||
// game's functions are called on the same goroutine.
|
||||
//
|
||||
// On browsers, it is strongly recommended to use iframe if you embed an Ebiten application in your website.
|
||||
//
|
||||
// RunGame must be called on the main thread.
|
||||
|
Loading…
Reference in New Issue
Block a user