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:
parent
e10d0fcbe7
commit
2b57c0947a
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue