gpui_wgpu: Remove redundant match arms for backend priority (#56032)

Release Notes:

- N/A
This commit is contained in:
Xiaobo Liu authored and GitHub committed 2026-05-07 15:07:36 +00:00
1 parent 07c1943b43
commit bfe5dfb4a1
1 file changed
+1 -3
+1 -3
View File
@@ -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,
};