ebiten/internal/uidriver
Enrico 3ef1d04935
internal/uidriver/glfw: Bug fix: do not execute loop function if init failed (#1689)
In `internal/uidriver/glfw/run_notsinglethread.go`, if the `UserInterface.init()` function returns an error, the `loop` is
executed regardless and the error is discarded. This behavior will hide the error returned by `init()` and might trigger
some crashes (see #1688).

A partial fix was implemented in 6c4edf8 , however that commit alone is not enough: the code now is correctly returning
the error via the `ch` channel, but it still executes the `loop()` function. This merge request skips `loop()` call if `init()`
had an error.

Updates #1688
2021-06-29 23:51:25 +09:00
..
glfw internal/uidriver/glfw: Bug fix: do not execute loop function if init failed (#1689) 2021-06-29 23:51:25 +09:00
js internal/graphicsdriver/opengl: Give up restorign on browsers 2021-06-26 16:54:21 +09:00
mobile Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00