document WGPU_BACKEND=gl workaround for non-vulkan GPUs

This commit is contained in:
yuni 2024-03-30 13:40:41 +01:00
parent 79edffccc1
commit 8500646226

View file

@ -30,6 +30,8 @@ Key features:
- A graphics card with vulkan support - A graphics card with vulkan support
Workaround if you don't have a vulkan GPU: Enable the OpenGL rendering backend by setting the `WGPU_BACKEND` environment variable to `gl`, e.g. by running `WGPU_BACKEND=gl cargo run` or `WGPU_BACKEND=gl ./outfly`. Note that this has considerably slower performance and occasional visual glitches.
# Building # Building
To run the pre-compiled version on Arch Linux, you need some basic libs: To run the pre-compiled version on Arch Linux, you need some basic libs: