Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index f044e70f3d19a02a5248ee7d4c0e6187707de8a2..04d2cdd785729032dda9e1d532e1a4ee32df0d4f 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -505,7 +505,8 @@ public: |
paint->setAntiAlias(SkOSMenu::kOnState == fAAState); |
} |
if (SkOSMenu::kMixedState != fFilterState) { |
- paint->setFilterBitmap(SkOSMenu::kOnState == fFilterState); |
+ paint->setFilterLevel(SkOSMenu::kOnState == fFilterState ? |
+ SkPaint::kLow_FilterLevel : SkPaint::kNone_FilterLevel); |
} |
if (SkOSMenu::kMixedState != fSubpixelState) { |
paint->setSubpixelText(SkOSMenu::kOnState == fSubpixelState); |