add kLCD16_Format to the list in FormatIsLCD()

git-svn-id: http://skia.googlecode.com/svn/trunk@920 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-03-10 19:25:22 +00:00
parent 807cec4397
commit 8bd4c7964f

View File

@ -142,7 +142,8 @@ struct SkMask {
};
static bool FormatIsLCD(Format fm) {
return kHorizontalLCD_Format == fm || kVerticalLCD_Format == fm;
return kHorizontalLCD_Format == fm || kVerticalLCD_Format == fm ||
kLCD16_Format == fm;
}
};