Skip to content

build with pthreads always includes library_webgl.js #11805

Closed
@niklasf

Description

@niklasf

Example invocation:

em++ -s USE_PTHREADS=1 tests/pthread/test_pthread_clock_drift.cpp

Does not use any graphics, but output a.out.js contains

var GL={counter:1,buffers:[],programs:[],framebuffers:[],renderbuffers:[],textures:[],uniforms:[],shaders:[],

and so on.

Not eliminated when using -O3 or even --closure 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions