Index: samplecode/SampleTiling.cpp |
diff --git a/samplecode/SampleTiling.cpp b/samplecode/SampleTiling.cpp |
index eb791c5b399ee46937b013a3b6de269ca895ed72..c35cf888463d6eb1aaeacb94d443552a8bae9c15 100644 |
--- a/samplecode/SampleTiling.cpp |
+++ b/samplecode/SampleTiling.cpp |
@@ -52,7 +52,7 @@ static void setup(SkPaint* paint, const SkBitmap& bm, bool filter, |
SkShader::TileMode tmx, SkShader::TileMode tmy) { |
SkShader* shader = SkShader::CreateBitmapShader(bm, tmx, tmy); |
paint->setShader(shader)->unref(); |
- paint->setFilterBitmap(filter); |
+ paint->setFilterLevel(filter ? SkPaint::kLow_FilterLevel : SkPaint::kNone_FilterLevel); |
} |
static const SkBitmap::Config gConfigs[] = { |