Hello,

I am trying to get a WebGL extension, namely WEBGL_draw_buffers, using 
glfwGetProcAddress and it always return nullptr. When I list all the 
available extensions of my browser I clearly see that WEBGL_draw_buffers is 
listed, and I am even able to run a demo on a web page that make use of it. 
So why glfwGetProcAddress always returns nullptr when used with Emscripten? 
Is this supposed to work?

Chrome JS console output this error:
bad name in getProcAddress: WEBGL_draw_buffers | WEBGL_draw_buffers

Also I am not sure if this is needed, but I made sure WebGL draft 
extensions are enabled in Chrome.

Or maybe glDrawBuffers is already mapped to WEBGL_draw_buffers when used in 
Emscripten? Can anyone confirm/deny this?

Thank you!

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to