From ba2e7f6b1d50ec4f62a4f30e9574df4dd56dd072 Mon Sep 17 00:00:00 2001 From: Isse Date: Thu, 25 Jan 2024 00:33:11 +0100 Subject: [PATCH] add vk as key for vulkan --- voxygen/src/render/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/render/renderer.rs b/voxygen/src/render/renderer.rs index e0b726fdd9..954c4462bf 100644 --- a/voxygen/src/render/renderer.rs +++ b/voxygen/src/render/renderer.rs @@ -208,7 +208,7 @@ impl Renderer { let backends = std::env::var("WGPU_BACKEND") .ok() .and_then(|backend| match backend.to_lowercase().as_str() { - "vulkan" => Some(wgpu::Backends::VULKAN), + "vulkan" | "vk" => Some(wgpu::Backends::VULKAN), "metal" => Some(wgpu::Backends::METAL), "dx12" => Some(wgpu::Backends::DX12), "primary" => Some(wgpu::Backends::PRIMARY),