mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
adfd90a148c937bc7d494275df4a981040beb7bf
569: Reorder framework canvas setup for web r=kvark a=grovesNL winit only appends the canvas element once the window is built, and we need the canvas to exist before `create_surface` can use it. So we can just reorder the calls to build the window before using `create_surface` on the web backend in framework. Also temporarily no-op debug markers for the web until we have them in gecko. Even though they're technically unimplemented, we can still proceed without them. Co-authored-by: Joshua Groves <josh@joshgroves.com>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%