wgpu: Disallow DX11 backend

This backend has not yet been reimplemented in wgpu 0.10+, so
disallow it for now.
This commit is contained in:
Mike Welsh 2021-10-20 16:31:09 -07:00
parent e10d0fcbe7
commit 2b57c0947a
1 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@ pub enum GraphicsBackend {
Vulkan,
Metal,
Dx12,
Dx11,
Gl,
}
@ -15,7 +14,6 @@ impl From<GraphicsBackend> for wgpu::Backends {
GraphicsBackend::Vulkan => wgpu::Backends::VULKAN,
GraphicsBackend::Metal => wgpu::Backends::METAL,
GraphicsBackend::Dx12 => wgpu::Backends::DX12,
GraphicsBackend::Dx11 => wgpu::Backends::DX11,
GraphicsBackend::Gl => wgpu::Backends::GL,
}
}