mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
gpui_wgpu: Remove redundant match arms for backend priority (#56032)
Release Notes: - N/A
This commit is contained in:
parent
07c1943b43
commit
bfe5dfb4a1
1 changed files with 1 additions and 3 deletions
|
|
@ -278,9 +278,7 @@ impl WgpuContext {
|
|||
};
|
||||
|
||||
let backend_priority: u8 = match info.backend {
|
||||
wgpu::Backend::Vulkan => 0,
|
||||
wgpu::Backend::Metal => 0,
|
||||
wgpu::Backend::Dx12 => 0,
|
||||
wgpu::Backend::Vulkan | wgpu::Backend::Metal | wgpu::Backend::Dx12 => 0,
|
||||
_ => 1,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue