aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleTextureDomain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleTextureDomain.cpp')
-rw-r--r--samplecode/SampleTextureDomain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleTextureDomain.cpp b/samplecode/SampleTextureDomain.cpp
index 154eaa9fd8..16e7a16cdd 100644
--- a/samplecode/SampleTextureDomain.cpp
+++ b/samplecode/SampleTextureDomain.cpp
@@ -48,7 +48,7 @@ protected:
SkIRect srcRect;
SkRect dstRect;
SkPaint paint;
- paint.setFilterBitmap(true);
+ paint.setFilterLevel(SkPaint::kLow_FilterLevel);
// Test that bitmap draws from malloc-backed bitmaps respect
// the constrained texture domain.