grovesNL / glow

GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
Apache License 2.0
1.2k stars 130 forks source link

support wasm32-unknown-emscripten #195

Closed caiiiycuk closed 2 years ago

caiiiycuk commented 2 years ago

Related to #189 To support wasm32-unknown-emscripten no need to do anything special like c api. It just works as is, because emscripten emulates OpenGL ES 3.0, so just disabling web path for it works fine (tested on vange-rs project)

caiiiycuk commented 2 years ago

Tested also in hello-triangle example of wgpu (https://github.com/gfx-rs/wgpu/pull/2233)

bors[bot] commented 2 years ago

Build succeeded: