gpui_wgpu: Remove redundant match arms for backend priority (#56032)
Release Notes: - N/A
This commit is contained in:
1 parent
07c1943b43
commit
bfe5dfb4a1
1 file changed
+1
-3
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user