about summary refs log tree commit diff
path: root/squash/src
diff options
context:
space:
mode:
Diffstat (limited to 'squash/src')
-rw-r--r--squash/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/squash/src/main.rs b/squash/src/main.rs
index f7964f4..fe7f310 100644
--- a/squash/src/main.rs
+++ b/squash/src/main.rs
@@ -51,8 +51,7 @@ fn main() -> Result<(), anyhow::Error> {
 		}
 	};
 
-	let squasher =
-		Squasher::new_with_difference(color_count, &image.data, &colorsquash::redmean_difference);
+	let squasher = Squasher::new(color_count, &image.data);
 	let size = squasher.map_over(&mut image.data);
 	image.data.resize(size, 0);