enable antialiased rects

git-svn-id: http://skia.googlecode.com/svn/trunk@1063 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-04-06 13:42:34 +00:00
parent c34effe857
commit bf86c63065

View File

@ -770,9 +770,7 @@ void SkGpuDevice::drawRect(const SkDraw& draw, const SkRect& rect,
}
bool doAA = paint.isAntiAlias();
// disable for now
doAA = false;
if (SkDraw::kHair_RectType == type && doAA) {
strokeSize.set(SK_Scalar1, SK_Scalar1);
type = SkDraw::kStroke_RectType;