gfx-rs / wgpu

A cross-platform, safe, pure-Rust graphics API.
https://wgpu.rs
Apache License 2.0
12.65k stars 926 forks source link

Lost an ability to use external GLES context on Windows #6449

Open kvark opened 3 weeks ago

kvark commented 3 weeks ago

Description I was using wgpu-0.17 in vange-rs, and specifically the method new_external with Gles backend. It allowed me to create the context with SDL and pass to wgpu. In later versions, however, the whole module got disabled on Windows. I'm not seeing an alternative right now.

Repro steps https://github.com/kvark/vange-rs/pull/246

Expected vs observed behavior Expected to keep this feature.

Platform Windows, currently trying wgpu-0.19

teoxoy commented 2 weeks ago

This is probably due to https://github.com/gfx-rs/wgpu/pull/4248 but https://github.com/gfx-rs/wgpu/pull/6152 added new_external for WGL as well. Could you give that a try?