bevy/crates/bevy_winit/src
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
..
converters.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
lib.rs WebGL2 support (#3039) 2021-10-29 00:46:18 +00:00
winit_config.rs fix rustdoc warnings (#1437) 2021-02-22 03:59:35 +00:00
winit_windows.rs Fix some nightly clippy lints (#2522) 2021-07-29 19:36:39 -07:00