Hello,
I have tried porting the C++ code I work on to the latest version of emscripten (1.38.18). This code relies on the bgfx library as a wrapper around OpenGL. When bgfx gets initalized, th program aborts with "missing function: emscripten_glPolygonMode". Emscripten 1.38.15 worked fine for this specific point.
This seems to have been introduced with the auto-generation of emscripten_GetProcAddress. Before this change, requesting "glPolygonMode" returned 0, now it returns a pointer to emscripten_glPolygonMode, which appears undefined.
I can work around the issue by commenting out "if (!strcmp(name, "glPolygonMode")) return emscripten_glPolygonMode;", but I believe there is an issue here, and possibly with other gl functions.
Alban