There is no such thing as the link not being implemented. The function
is implemented in library_webgl2.js, there is nothing more to
implement.
Trying out a test program test.c with
#include <GLES3/gl3.h>
#include <emscripten/html5.h>
int main()
{
EmscriptenWebGLContextAttributes attr;
emscripten_webgl_init_context_attributes(&attr);
attr.majorVersion = 2;
EMSCRIPTEN_WEBGL_CONTEXT_HANDLE ctx =
emscripten_webgl_create_context("#canvas", &attr);
emscripten_webgl_make_context_current(ctx);
glBlitFramebuffer(0, 0, 0, 0, 1, 1, 1, 1, GL_COLOR_BUFFER_BIT, GL_NEAREST);
}
build with emcc test.c -s MAX_WEBGL_VERSION=2 -o a.html
does succeed for me, and the resulting a.js has
function _glBlitFramebuffer(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9)
{ GLctx['blitFramebuffer'](x0, x1, x2, x3, x4, x5, x6, x7, x8, x9) }
The issue is somewhere else. Perhaps you can correlate your build
against the test build, and/or verify that the test build works for
you?
ke 12. helmik. 2020 klo 2.11 Tim Luther Lewis (
luther...@gmail.com)
kirjoitti:
>> >> To unsubscribe from this group and stop receiving emails from it, send an email to
emscripten-disc...@googlegroups.com.
>> > To unsubscribe from this group and stop receiving emails from it, send an email to
emscripten-disc...@googlegroups.com.
> --
> 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-disc...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/0db7c526-95c7-4619-b366-8912ae71f1b1%40googlegroups.com.