Skip to content

Commit

Permalink
desktop: Add DX11 to default graphics backends
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian17 committed Jul 4, 2021
1 parent 20080dd commit d9b5b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render/wgpu/src/clap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub enum GraphicsBackend {
impl From<GraphicsBackend> for wgpu::BackendBit {
fn from(backend: GraphicsBackend) -> Self {
match backend {
GraphicsBackend::Default => wgpu::BackendBit::PRIMARY,
GraphicsBackend::Default => wgpu::BackendBit::PRIMARY | wgpu::BackendBit::DX11,
GraphicsBackend::Vulkan => wgpu::BackendBit::VULKAN,
GraphicsBackend::Metal => wgpu::BackendBit::METAL,
GraphicsBackend::Dx12 => wgpu::BackendBit::DX12,
Expand Down

0 comments on commit d9b5b1a

Please sign in to comment.