Skip to content

Commit

Permalink
ebiten: Make the comment more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Oct 20, 2020
1 parent eedb947 commit aaa675b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit aaa675b

Please sign in to comment.