Thanks for the responses guys but unfortunately, I'm still getting
'anthraciteWASM.js:8995 missing function: glBlitFramebuffer'
I've added both '-s MIN_WEBGL_VERSION=2' and '-s MAX_WEBGL_VERSION=2' and
I'm creating my context with 'const context = canvas.getContext("webgl2",
{antialias: false, depth: true});'
I do get a bunch of linker warnings when I build, however:
---8<-------------------------------
warning: undefined symbol: emscripten_glBeginQuery
warning: undefined symbol: emscripten_glBeginTransformFeedback
warning: undefined symbol: emscripten_glBindBufferBase
warning: undefined symbol: emscripten_glBindBufferRange
warning: undefined symbol: emscripten_glBindSampler
warning: undefined symbol: emscripten_glBindTransformFeedback
warning: undefined symbol: emscripten_glBlitFramebuffer
warning: undefined symbol: emscripten_glClearBufferfi
warning: undefined symbol: emscripten_glClearBufferfv
warning: undefined symbol: emscripten_glClearBufferiv
warning: undefined symbol: emscripten_glClearBufferuiv
warning: undefined symbol: emscripten_glClientWaitSync
warning: undefined symbol: emscripten_glCompressedTexImage3D
...
--8<--------------------------------------------
but seeing as everything ran fine, other than the blit, I assumed this was
just some sort of late binding issue for external functions.
Is it possible that there's a problem with glBlitFramebuffer that hasn't
been picked up?
On Sunday, 9 February 2020 20:31:49 UTC, Tim Luther Lewis wrote:
>
> Hi,
> I'm porting my engine to WASM and it's all going well so far but I've
> hit a snag with this. I'm linking with -s FULL_ES2=1 -s FULL_ES3=1 but it
> still gives me 'missing function: glBlitFramebuffer' whenever I call it.
> I noticed there was a discussion about this function on github back in
> February 2019 (https://github.com/emscripten-core/emscripten/pull/7588).
> Does anybody know if it's broken or perhaps I've missed something vital?
>
> Thanks in advance,
> Tim.
>
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/dc4a4749-ce2b-4c1f-8812-8592645b4ef2%40googlegroups.com.