chore: Fix clap update
This commit is contained in:
parent
cb2f1b6488
commit
45d2f3fcde
|
@ -1,6 +1,4 @@
|
||||||
use clap::Clap;
|
#[derive(Copy, Clone, PartialEq, Debug, clap::ArgEnum)]
|
||||||
|
|
||||||
#[derive(Copy, Clone, Clap, PartialEq, Debug)]
|
|
||||||
pub enum GraphicsBackend {
|
pub enum GraphicsBackend {
|
||||||
Default,
|
Default,
|
||||||
Vulkan,
|
Vulkan,
|
||||||
|
@ -21,7 +19,7 @@ impl From<GraphicsBackend> for wgpu::BackendBit {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Clap, PartialEq, Debug)]
|
#[derive(Copy, Clone, PartialEq, Debug, clap::ArgEnum)]
|
||||||
pub enum PowerPreference {
|
pub enum PowerPreference {
|
||||||
Low = 1,
|
Low = 1,
|
||||||
High = 2,
|
High = 2,
|
||||||
|
|
Loading…
Reference in New Issue