summaryrefslogtreecommitdiffstats
path: root/libs/hwui/utils
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2015-03-16 11:16:09 -0400
committerMike Reed <reed@google.com>2015-03-16 11:31:38 -0400
commit2a1ce8a4e5258b6599cb8e86864eb816d24d69b4 (patch)
treea46995b45b8a2b79665460ebc6c6839449ef65c9 /libs/hwui/utils
parentee1f24ff2985a32b473244cc464b3ca7854de189 (diff)
downloadframeworks_base-2a1ce8a4e5258b6599cb8e86864eb816d24d69b4.zip
frameworks_base-2a1ce8a4e5258b6599cb8e86864eb816d24d69b4.tar.gz
frameworks_base-2a1ce8a4e5258b6599cb8e86864eb816d24d69b4.tar.bz2
use SkFilterQuality instead of SkPaint::FilterLevel
Change-Id: I5d26869de746107b8a35a7a662236f993a824b0d
Diffstat (limited to 'libs/hwui/utils')
-rw-r--r--libs/hwui/utils/PaintUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/utils/PaintUtils.h b/libs/hwui/utils/PaintUtils.h
index 1a5cbf8..ba02f5f 100644
--- a/libs/hwui/utils/PaintUtils.h
+++ b/libs/hwui/utils/PaintUtils.h
@@ -38,7 +38,7 @@ public:
}
static inline GLenum getFilter(const SkPaint* paint) {
- if (!paint || paint->getFilterLevel() != SkPaint::kNone_FilterLevel) {
+ if (!paint || paint->getFilterQuality() != kNone_SkFilterQuality) {
return GL_LINEAR;
}
return GL_NEAREST;