fix int->scalar warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@14990 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
a3264e53ee
commit
687a26defa
@ -51,7 +51,7 @@ public:
|
||||
protected:
|
||||
SkBitmap fBM;
|
||||
SkString fFilename;
|
||||
int fSize;
|
||||
SkScalar fSize;
|
||||
float fHorizontalVelocity, fVerticalVelocity;
|
||||
|
||||
SkPoint fCurPos;
|
||||
@ -122,5 +122,5 @@ private:
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05, .05); }
|
||||
static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05f, .05f); }
|
||||
static SkViewRegister reg(MyFactory);
|
||||
|
Loading…
Reference in New Issue
Block a user