Fix trivial int->scalar warning introduced in r3772
git-svn-id: http://skia.googlecode.com/svn/trunk@3775 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
266530804f
commit
e7655f1144
@ -1621,7 +1621,7 @@ void GrContext::drawPath(const GrPaint& paint, const GrPath& path,
|
||||
if (translate) {
|
||||
ovalRect.offset(*translate);
|
||||
}
|
||||
SkScalar width = (fill == kHairLine_PathFill) ? 0 : -1;
|
||||
SkScalar width = (fill == kHairLine_PathFill) ? 0 : -SK_Scalar1;
|
||||
this->drawOval(paint, ovalRect, width);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user