Describe the bug
The Hello World provided in the README crashes
thread 'main' panicked at /home/daniel/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-22.1.0/src/backend/wgpu_core.rs:786:18:
Error in Surface::configure: Validation Error
Caused by:
Requested format Rgba8UnormSrgb is not in list of supported formats: [Bgra8Unorm, Bgra8UnormSrgb]
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
To Reproduce
Steps to reproduce the behavior:
- Make a new project
- Replace
main.rs with the provided code in README
cargo run
Expected behavior
No crash and a valid hello world example
Screenshots
N/A
Desktop (please complete the following information):
- OS: Arch Linux
- Browser N/A
- Version
Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.
Describe the bug
The
Hello Worldprovided in the README crashesTo Reproduce
Steps to reproduce the behavior:
main.rswith the provided code in READMEcargo runExpected behavior
No crash and a valid hello world example
Screenshots
N/A
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.