ebiten/internal/processtest
Hajime Hoshi 6e968558b1 internal/ui: bug fix: setRunning(true) must be called after the main thread is set
Some functions like ebiten.SetCursorMode use `running` to detect
whether the game starts or not. If the game starts, the main thread
must exist, but there was a timing when `running` was true but the
main thread didn't exist.

This change fixes this issue by changing the timing to call
`setRunning(true)` after the main thread initialization and before
`initOnMainThread`. `initOnMainThread` assumes that `running` is
true.

Closes #2742
2023-09-02 04:24:51 +09:00
..
testdata internal/ui: bug fix: setRunning(true) must be called after the main thread is set 2023-09-02 04:24:51 +09:00
processtest_test.go internal/processtest: output a better error message when failing to compile a Go program 2023-04-01 04:01:39 +09:00