Also fixed a typo in a function call when threading was disabled.
Emscripten builds will now no longer use OpenMP or threads, as the WebAssembly platform doesn't really support multithreading anyways.
Also had to change a few GL constants introduces in recent refactorings which aren't defined in OpenGL ES headers. Line smoothing is not supported by GLES, so the glDisable calls are now wrapped in preprocessor #ìf blocks.
Also fixed a typo in a function call when threading was disabled.
Emscripten builds will now no longer use OpenMP or threads, as the WebAssembly platform doesn't really support multithreading anyways.
Also had to change a few GL constants introduces in recent refactorings which aren't defined in OpenGL ES headers. Line smoothing is not supported by GLES, so the
glDisable
calls are now wrapped in preprocessor#ìf
blocks.