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:
parent
04f03d1fad
commit
0b27f2ec0f
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user