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/SampleTiling.cpp b/samplecode/SampleTiling.cpp index eb791c5..c35cf88 100644 --- a/samplecode/SampleTiling.cpp +++ b/samplecode/SampleTiling.cpp
@@ -52,7 +52,7 @@ 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[] = {