Index: samplecode/SampleFilter.cpp |
diff --git a/samplecode/SampleFilter.cpp b/samplecode/SampleFilter.cpp |
index 3eb9cdc92c1cfe35128a1bf5af69f06ed370e318..71ab62fd5510d8b443a9332310e775acf06e8484 100644 |
--- a/samplecode/SampleFilter.cpp |
+++ b/samplecode/SampleFilter.cpp |
@@ -59,7 +59,7 @@ static SkScalar draw_bm(SkCanvas* canvas, const SkBitmap& bm, |
static SkScalar draw_set(SkCanvas* c, const SkBitmap& bm, SkScalar x, SkPaint* p) { |
x += draw_bm(c, bm, x, 0, p); |
- p->setFilterBitmap(true); |
+ p->setFilterLevel(SkPaint::kLow_FilterLevel); |
x += draw_bm(c, bm, x, 0, p); |
p->setDither(true); |
return x + draw_bm(c, bm, x, 0, p); |