>
>
>
Blitting only works in WebGL2. Link with -s MAX_WEBGL_VERSION=2 (or -s
USE_WEBGL2=1 on older emscripten versions). Also make sure that you use
WebGL2 contexts in your web app.
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To
Hi,
I'm trying to understand how to embind the various types I want to expose
to JS, and if I understand it correctly, the embind documentation seems
incomplete.
The docs state that JS cannot call destructors automatically, and then
suggests this code:
var x = new
Hi,
I'm trying to debug an issue I have, where emscripten_webgl_create_context
fails to find a second canvas.
The issue happens even when I checked that the canvas can be found using
document.querySelector in the calling JS.
In order to debug this, I'd like to step into the library_html5.js
Hi,
I have a couple of structs objects, inheriting from a base struct, and
passed using smart pointers. I've tried to bind them using embind, but when
I look at the object in the debugger I see that it isn't a smart pointer
but a raw pointer, and when I try to pass the object to another object,
Hi, I didn't find the best practices regarding including emscripten.h and
html5.h in a project. Most of the examples I see just copy the files into
the project, but that means that the only way to receive updates is to copy
them manually.
What's the best way to use emscripten's headers? Add it
Hi,
I'm trying to build Skia, integrate it into my c++ code, and then build it
into WASM, but when I call emcc I get several undefined symbol errors,
which don't happen with equivalent clang compilation.
What should I do in order to investigate why these symbols weren't compiled
or linked? Is