From 3d0aace81b8ae1a535e5534e2febad5dff413d71 Mon Sep 17 00:00:00 2001 From: Kamal Ahmad Date: Thu, 1 Aug 2019 22:19:14 +0500 Subject: [PATCH] Don't apply any alpha optimizations if they are disabled --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f4179808..0ca5189b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -285,9 +285,7 @@ impl Default for Options { for i in 0..4 { strategies.insert(i); } - let mut alphas = HashSet::new(); - alphas.insert(colors::AlphaOptim::NoOp); - alphas.insert(colors::AlphaOptim::Black); + let alphas = HashSet::new(); Options { backup: false,