fix float->int warning
git-svn-id: http://skia.googlecode.com/svn/trunk@870 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ea282db262
commit
f9bb7a8e20
@ -124,7 +124,9 @@ bool SkWindow::handleInval(const SkRect* localR)
|
||||
fMatrix.mapRect(&devR, *localR);
|
||||
devR.round(&ir);
|
||||
} else {
|
||||
ir.set(0, 0, this->width(), this->height());
|
||||
ir.set(0, 0,
|
||||
SkScalarRound(this->width()),
|
||||
SkScalarRound(this->height()));
|
||||
}
|
||||
fDirtyRgn.op(ir, SkRegion::kUnion_Op);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user