aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkTestImageFilters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/SkTestImageFilters.cpp')
-rwxr-xr-xsrc/effects/SkTestImageFilters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkTestImageFilters.cpp b/src/effects/SkTestImageFilters.cpp
index d0e21a3920..289113133c 100755
--- a/src/effects/SkTestImageFilters.cpp
+++ b/src/effects/SkTestImageFilters.cpp
@@ -48,7 +48,7 @@ bool SkDownSampleImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src,
OwnDeviceCanvas canvas(dev);
SkPaint paint;
- paint.setFilterBitmap(true);
+ paint.setFilterLevel(SkPaint::kLow_FilterLevel);
canvas.scale(scale, scale);
canvas.drawBitmap(src, 0, 0, &paint);
tmp = dev->accessBitmap(false);