The Emscripten port has an issue where a misspelled check for undefined prevents programs from compiling
|
if (Module.olc_AspectRatio == = undefined) |
"== =" should be written as "===" but is not and results in a syntax error detected at compile time when optimizations are on. But a silent runtime error with optimizations off.
This is located in an EM_ASM call in the Platform_Emscripten::CreateWindowPane function.
Unsure of how long this bug has existed for.