| Index: samplecode/TransitionView.cpp
|
| diff --git a/samplecode/TransitionView.cpp b/samplecode/TransitionView.cpp
|
| index d18585414c944b07aa38b997fd20ce9f8b24d11c..3a3717251637e23c66f28baac6cfc574bb1de1e3 100644
|
| --- a/samplecode/TransitionView.cpp
|
| +++ b/samplecode/TransitionView.cpp
|
| @@ -158,8 +158,8 @@ protected:
|
| fEnd[kPrevX] = -lr;
|
| fEnd[kPrevY] = -ud;
|
| fEnd[kNextX] = fEnd[kNextY] = 0;
|
| - SkScalar blend[] = { SkFloatToScalar(0.8f), SkFloatToScalar(0.0f),
|
| - SkFloatToScalar(0.0f), SK_Scalar1 };
|
| + SkScalar blend[] = { 0.8f, 0.0f,
|
| + 0.0f, SK_Scalar1 };
|
| fInterp.setKeyFrame(0, SkTime::GetMSecs(), fBegin, blend);
|
| fInterp.setKeyFrame(1, SkTime::GetMSecs()+kDurationMS, fEnd, blend);
|
| }
|
|
|