We now annotate the JS wrapper for Engine with a GL context handle. This is fairly hacky because emscripten hides its internal GL object from JavaScript, and it does not provide a mechanism to pass JS objects into inline assembly.
We now annotate the JS wrapper for Engine with a GL context handle. This is fairly hacky because emscripten hides its internal GL object from JavaScript, and it does not provide a mechanism to pass JS objects into inline assembly.