commit | 4469938e92d779dff05e745559e67907bbf21e78 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 31 17:28:30 2013 +0000 |
committer | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 31 17:28:30 2013 +0000 |
tree | c87072ff8cef5709436279a1f771160511debd2a | |
parent | 6fcbfcead5dc1b61fa5b4c139a1a3714e8c58091 [diff] [blame] |
Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning"" This reverts commit 1e787c38fa71f2a21fd728f1b1d620b9b09b0d3d. BUG= Review URL: https://codereview.chromium.org/54603004 git-svn-id: http://skia.googlecode.com/svn/trunk@12057 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleTextureDomain.cpp b/samplecode/SampleTextureDomain.cpp index 154eaa9..16e7a16 100644 --- a/samplecode/SampleTextureDomain.cpp +++ b/samplecode/SampleTextureDomain.cpp
@@ -48,7 +48,7 @@ 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.