diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-03-29 17:40:45 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-03-29 18:15:22 +0200 |
commit | ae3c9345cc5d5771bd10165e76048afc77b4015f (patch) | |
tree | 43b56f2d0d576af5e334d25de85ec3f68fd1542a /scene/resources/gradient.h | |
parent | c6ff6707a4c137eef1e5c6c18465ac584c9d9e16 (diff) |
[HTML5] Fix Mono builds (old emcc?)
Promise chaining the emscripten module `then` function breaks it badly,
causing an infinite loop.
I'm unsure about the source of the issue, but most likely at this point
is due to the old emscripten version (I remember very old html5 builds
having issue with promise chaining too).
With this commit, we no longer use the module as a promise, and
instantiate it using `Promise` objects directly for compatibility.
Diffstat (limited to 'scene/resources/gradient.h')
0 files changed, 0 insertions, 0 deletions