Index: gm/tilemodes.cpp |
diff --git a/gm/tilemodes.cpp b/gm/tilemodes.cpp |
index 5a5fbbe5299a7327e4fd7e433169f1d6df2385ae..dcfc133d3709ca2aef3c38981788d73b72eb142f 100644 |
--- a/gm/tilemodes.cpp |
+++ b/gm/tilemodes.cpp |
@@ -47,7 +47,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[] = { |