fix windows warning

git-svn-id: http://skia.googlecode.com/svn/trunk@10058 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
humper@google.com 2013-07-12 22:15:12 +00:00
parent eaacb2c3ca
commit f4db3a0db8

View File

@ -68,7 +68,7 @@ protected:
paint.setFlags( paint.getFlags() | SkPaint::kHighQualityFilterBitmap_Flag );
canvas->save();
canvas->translate( curX, 0 );
canvas->translate( (SkScalar) curX, 0.f );
canvas->drawBitmapMatrix( fBM, matrix, &paint );
canvas->restore();