You can look at src/library_sdl.js and glfw, glut, etc. to see how to set
up the canvas and context and so forth. Compiling one of the simple tests
in test/, like tests/sdl_canvas.c, and looking in the generated JS, might
be helpful too.

On Mon, Oct 31, 2016 at 2:23 PM, Heero Yui <[email protected]> wrote:

> Hello,
>
> I write an openGL framework (http://github.com/atria-soft/game), that
> bind directly the low level interface graphic (like the SDL). Then It is
> possible to directly bing the WebGL view without using SDL or X11 ?
>
> if it is possible, some sample code????
>
> 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.
>

-- 
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