From aaa675bc2af4702c0d88650af5b7920470308898 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 21 Oct 2020 03:32:58 +0900 Subject: [PATCH] ebiten: Make the comment more precise --- doc.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc.go b/doc.go index 107266931..f64b7fd4c 100644 --- a/doc.go +++ b/doc.go @@ -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