Hello,

I am new to emscripten and I have been trying to port some of my code to 
work with WebGL. After some difficulty, I had a file loading function 
working with a synchronous fetch that required the "--proxy-to-worker" 
compiler flag. Next, I tried to get WebGL to work, but I was not able to 
make a context. I would get this error: "Uncaught TypeError: 
Module.canvas.getContext is not a function at Worker.worker_onmessage". I 
only get this error when compiling with the proxy flag. Is there a way to 
get a WebGL context with this flag? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/c7944283-a618-479f-843c-9c4b78137a57n%40googlegroups.com.

Reply via email to