You don't want to disable built-in OpenGL when building with Regal, because
Regal will tack on top of OpenGL ES 2.0. But you should build code without
-s LEGACY_GL_EMULATION=1 linker flag, because when using Regal, Emscripten
provided legacy GL emulation features are not needed. It could be the case
that Regal needs more complete GLES2 options, in which case try building
with -s FULL_ES2=1.

Try checking the link order of the -l items for Regal (or try using a link
group). The order of the link items matters on command line, and this looks
like perhaps they were specified in the wrong order. It is possible to
specify items multiple times, so you can try duplicating the link files
twice, i.e. try passing -lyourcode -lRegalGLUT -lRegallib -lyourcode
-lRegalGLUT -lRegallib.

2017-01-25 17:46 GMT+02:00 caiiiycuk <caiiiy...@gmail.com>:

> *  I can`t understand how I can disable built in opengl support.
>
> --
> 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.
> 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 emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to