Re-add alpha Black/Noop optimizations to presets
This commit is contained in:
parent
3d0aace81b
commit
1c3c0b7b25
2 changed files with 4 additions and 0 deletions
|
|
@ -250,6 +250,8 @@ impl Options {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn apply_preset_4(mut self) -> Self {
|
fn apply_preset_4(mut self) -> Self {
|
||||||
|
self.alphas.insert(AlphaOptim::NoOp);
|
||||||
|
self.alphas.insert(AlphaOptim::Black);
|
||||||
self.alphas.insert(AlphaOptim::White);
|
self.alphas.insert(AlphaOptim::White);
|
||||||
self.alphas.insert(AlphaOptim::Up);
|
self.alphas.insert(AlphaOptim::Up);
|
||||||
self.alphas.insert(AlphaOptim::Down);
|
self.alphas.insert(AlphaOptim::Down);
|
||||||
|
|
|
||||||
|
|
@ -363,6 +363,8 @@ fn parse_opts_into_struct(
|
||||||
};
|
};
|
||||||
|
|
||||||
if matches.is_present("alpha") {
|
if matches.is_present("alpha") {
|
||||||
|
opts.alphas.insert(AlphaOptim::NoOp);
|
||||||
|
opts.alphas.insert(AlphaOptim::Black);
|
||||||
opts.alphas.insert(AlphaOptim::White);
|
opts.alphas.insert(AlphaOptim::White);
|
||||||
opts.alphas.insert(AlphaOptim::Up);
|
opts.alphas.insert(AlphaOptim::Up);
|
||||||
opts.alphas.insert(AlphaOptim::Down);
|
opts.alphas.insert(AlphaOptim::Down);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue