ebiten: Make the comment more precise

This commit is contained in:
Hajime Hoshi 2020-10-21 03:32:58 +09:00
parent eedb947471
commit aaa675bc2a

5
doc.go
View File

@ -73,6 +73,7 @@
// `ebitengl` forces to use OpenGL in any environments.
//
// `ebitensinglethread` disables Ebiten's thread safety to unlock maximum performance. If you use this you will have
// to manage threads yourself. Functions like IsKeyPressed will no longer be concurrent-safe with this build tag and
// must be called from the main thread.
// to manage threads yourself. Functions like IsKeyPressed will no longer be concurrent-safe with this build tag.
// They must be called from the main thread or the same goroutine as the given game's callback functions like Update
// to RunGame.
package ebiten