See the documentation on OpenGL support here: http://kripken.github.io/emscripten-site/docs/porting/multimedia_and_graphics/OpenGL-support.html . In general, legacy OpenGL emulation support is far from complete, this comment sums the current state up well: https://github.com/kripken/emscripten/blob/master/src/library_gl.js#L2894 .
If you need to work with OpenGL emulation, trying out the Regal GL emulation library might have some success: https://github.com/p3/regal 2015-09-17 15:15 GMT+03:00 yair b.r <[email protected]>: > Hi, > I am trying to run some very simple examples (triangles, cubes etc.) of > OpenGL with emscripen. > I succeeded only with the emulation mode so far. Nothing works with the 2 > other modes. > > I also get on some function (glPointSize, glLineStipple) an error from the > browser "missing function". > > I am using Chrome, C++ and Visual Studio 2010. > > thanks for any help. > > -- > 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. > -- 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.
