bevy/pipelined/bevy_render2
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 WebGL2 support (#3039) 2021-10-29 00:46:18 +00:00