mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 22:07:50 +08:00
3d9c55d2e0
* [many ports] Updates 2019.05.08 * Undo changes for failure ports grpc libjpeg-turbo curl cartographer * [guetzli] Patch to handle breaking changes in butteraugli
14 lines
557 B
Diff
14 lines
557 B
Diff
diff --git a/guetzli/butteraugli_comparator.cc b/guetzli/butteraugli_comparator.cc
|
|
index 142c203..f4e710d 100644
|
|
--- a/guetzli/butteraugli_comparator.cc
|
|
+++ b/guetzli/butteraugli_comparator.cc
|
|
@@ -56,7 +56,7 @@ ButteraugliComparator::ButteraugliComparator(const int width, const int height,
|
|
height_(height),
|
|
target_distance_(target_distance),
|
|
rgb_orig_(*rgb),
|
|
- comparator_(LinearRgb(width_, height_, *rgb)),
|
|
+ comparator_(LinearRgb(width_, height_, *rgb), 1.0f),
|
|
distance_(0.0),
|
|
stats_(stats) {}
|
|
|