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:
reed@google.com 2013-07-24 17:10:05 +00:00
parent 8d725b25a6
commit d9763a5505

View File

@ -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]);