Another int to scalar fix.
git-svn-id: http://skia.googlecode.com/svn/trunk@12138 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
770269d962
commit
ec1a96c317
@ -78,7 +78,7 @@ public:
|
||||
looper->addLayerOnTop(info);
|
||||
}
|
||||
SkPaint paint;
|
||||
SkRect rect = SkRect::MakeWH(fWidth, fHeight);
|
||||
SkRect rect = SkRect::MakeWH(SkIntToScalar(fWidth), SkIntToScalar(fHeight));
|
||||
canvas->drawRect(rect, paint);
|
||||
|
||||
paint.setLooper(looper)->unref();
|
||||
|
Loading…
Reference in New Issue
Block a user