fix warning of implicit cast to float
git-svn-id: http://skia.googlecode.com/svn/trunk@10316 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
8d725b25a6
commit
d9763a5505
@ -80,8 +80,8 @@ protected:
|
||||
SkPaint paint;
|
||||
|
||||
for (size_t i = 0; i < SK_ARRAY_COUNT(gLevel); ++i) {
|
||||
SkScalar x = 10 + i * 100;
|
||||
SkScalar y = 10;
|
||||
SkScalar x = 10.0f + i * 100;
|
||||
SkScalar y = 10.0f;
|
||||
|
||||
paint.setFilterLevel(gLevel[i]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user