bevy/crates/bevy_internal
Mariusz Kryński 7d932ac1d8 WebGL2 support (#3039)
# Objective

Make possible to use wgpu gles backend on in the browser (wasm32 + WebGL2). 

## Solution

It is built on top of old @cart patch initializing windows before wgpu. Also:
- initializes wgpu with `Backends::GL` and proper `wgpu::Limits` on wasm32
- changes default texture format to `wgpu::TextureFormat::Rgba8UnormSrgb`



Co-authored-by: Mariusz Kryński <mrk@sed.pl>
2021-10-29 00:46:18 +00:00
..
src WebGL2 support (#3039) 2021-10-29 00:46:18 +00:00
Cargo.toml Update for edition 2021 (#2997) 2021-10-25 18:00:13 +00:00