git-svn-id: http://skia.googlecode.com/svn/trunk@6374 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2012-11-09 21:59:52 +00:00
Родитель 1ea95be560
Коммит 3fb91a1fe9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -67,8 +67,8 @@ static void dump(const SkMask& mask) {
static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR,
const SkIRect& clipR, SkBlitter* blitter) {
int cx = mask.fBounds.left() + mask.fBounds.right() >> 1;
int cy = mask.fBounds.top() + mask.fBounds.bottom() >> 1;
int cx = mask.fBounds.centerX();
int cy = mask.fBounds.centerY();
SkMask m;
// top-left