aboutsummaryrefslogtreecommitdiff
path: root/source/scale_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'source/scale_common.cc')
-rw-r--r--source/scale_common.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/scale_common.cc b/source/scale_common.cc
index 96e2564b..793df0a0 100644
--- a/source/scale_common.cc
+++ b/source/scale_common.cc
@@ -1030,10 +1030,6 @@ enum FilterMode ScaleFilterReduce(int src_width, int src_height,
if (dst_width * 2 >= src_width && dst_height * 2 >= src_height) {
filtering = kFilterBilinear;
}
- // If scaling to larger, switch from Box to Bilinear.
- if (dst_width >= src_width || dst_height >= src_height) {
- filtering = kFilterBilinear;
- }
}
if (filtering == kFilterBilinear) {
if (src_height == 1) {