Fix int->scalar warning on windows

Review URL: https://codereview.chromium.org/257693002

git-svn-id: http://skia.googlecode.com/svn/trunk@14366 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2014-04-24 21:23:37 +00:00
parent 04f03d1fad
commit 0b27f2ec0f

View File

@ -74,7 +74,7 @@ protected:
surface->getCanvas()->drawPaint(paint);
break;
}
surface->draw(canvas, 10*x, 10*y, NULL);
surface->draw(canvas, 10.f*x, 10.f*y, NULL);
}
}