mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
add vk as key for vulkan
This commit is contained in:
parent
856c64c9ee
commit
ba2e7f6b1d
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user