зеркало из https://github.com/mozilla/moz-skia.git
fix int->scalar warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@14990 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
a3264e53ee
Коммит
687a26defa
|
@ -51,7 +51,7 @@ public:
|
||||||
protected:
|
protected:
|
||||||
SkBitmap fBM;
|
SkBitmap fBM;
|
||||||
SkString fFilename;
|
SkString fFilename;
|
||||||
int fSize;
|
SkScalar fSize;
|
||||||
float fHorizontalVelocity, fVerticalVelocity;
|
float fHorizontalVelocity, fVerticalVelocity;
|
||||||
|
|
||||||
SkPoint fCurPos;
|
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);
|
static SkViewRegister reg(MyFactory);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче