Index: samplecode/SamplePatch.cpp |
diff --git a/samplecode/SamplePatch.cpp b/samplecode/SamplePatch.cpp |
index 3da4b0c20eb1b523a5cb602e8b7b14c7dfcdf5c5..c630e8956abe92c0b242299e0b57c8b1570f6339 100644 |
--- a/samplecode/SamplePatch.cpp |
+++ b/samplecode/SamplePatch.cpp |
@@ -269,7 +269,7 @@ protected: |
virtual void onDrawContent(SkCanvas* canvas) { |
SkPaint paint; |
paint.setDither(true); |
- paint.setFilterBitmap(true); |
+ paint.setFilterLevel(SkPaint::kLow_FilterLevel); |
canvas->translate(SkIntToScalar(20), 0); |