Index: samplecode/SampleTiling.cpp |
diff --git a/samplecode/SampleTiling.cpp b/samplecode/SampleTiling.cpp |
index 4f073bdd5e56f0db59bfe194b856c65f6c13aa42..5f995e2bdbb46b3cd76819c39a987ea71d59c301 100644 |
--- a/samplecode/SampleTiling.cpp |
+++ b/samplecode/SampleTiling.cpp |
@@ -44,7 +44,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->setFilterLevel(filter ? SkPaint::kLow_FilterLevel : SkPaint::kNone_FilterLevel); |
+ paint->setFilterQuality(filter ? kLow_SkFilterQuality : kNone_SkFilterQuality); |
} |
static const SkColorType gColorTypes[] = { |