From 8500646226a18390389980af95eb07916ca59cff Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 30 Mar 2024 13:40:41 +0100 Subject: [PATCH] document WGPU_BACKEND=gl workaround for non-vulkan GPUs --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e63ec11..30b9235 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Key features: - 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 To run the pre-compiled version on Arch Linux, you need some basic libs: