Index: samplecode/SampleTextureDomain.cpp |
diff --git a/samplecode/SampleTextureDomain.cpp b/samplecode/SampleTextureDomain.cpp |
index 154eaa9fd8edc753377928fe2988ce197f2d011e..16e7a16cddfa9a9862e0e18c21b99038642ed4c3 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. |