ebiten/internal
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
..
affine Revert "Revert 2 commits using ColorM cache" 2021-05-30 15:17:11 +09:00
atlas internal/atlas: Better algorithm to release the temporary pixels 2021-06-26 23:29:45 +09:00
buffered Rename internal/shareable -> internal/atlas 2021-03-12 00:22:08 +09:00
clock internal/clock: Misspelling 2021-04-24 23:24:11 +09:00
debug Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
devicescale Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
driver ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled 2021-06-14 02:29:11 +09:00
glfw ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled 2021-06-14 02:29:11 +09:00
graphics internal/graphics: Reafctoring 2021-06-28 23:28:43 +09:00
graphicscommand internal/graphicscommand: Misspelling at newShaderCommand.String 2021-06-27 23:20:27 +09:00
graphicsdriver Remove internal/web 2021-06-26 17:04:00 +09:00
hooks internal/hooks: Enable to return error at suspend/resume audio 2021-05-04 23:09:01 +09:00
jsutil Remove support of Go 1.13 and Go 1.14 2021-06-07 21:44:22 +09:00
mipmap internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
packing packing: Bug fix: Extend could create a too big page 2020-12-31 17:33:27 +09:00
png Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
restorable internal/graphics: Reuse the vertices backend 2021-06-27 02:31:01 +09:00
shader internal/shader: Add more tests and improve the comment 2021-04-09 01:25:37 +09:00
shaderir graphicsdriver/opengl: Enable dFdx for mobiles 2020-11-21 19:40:11 +09:00
testflock Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
testing testing: Bug fix: Lack of uniform variables 2020-12-09 11:52:45 +09:00
thread internal/thread: Refactoring 2021-06-15 00:43:48 +09:00
uidriver internal/uidriver/glfw: Bug fix: do not execute loop function if init failed (#1689) 2021-06-29 23:51:25 +09:00