aboutsummaryrefslogtreecommitdiff
path: root/samplecode/TransitionView.cpp
diff options
context:
space:
mode:
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 20:01:46 +0000
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 20:01:46 +0000
commit09042b80d22837c760bb530124aaa67469b19b8f (patch)
tree1e4e2a5e1f31c6d4eb83d290f9dec0591d1058e8 /samplecode/TransitionView.cpp
parent419400bf6e475dfbaa424ef0155598a3422cfa67 (diff)
Fixing Windows compiler complaints
http://codereview.appspot.com/5991056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3626 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/TransitionView.cpp')
-rw-r--r--samplecode/TransitionView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/TransitionView.cpp b/samplecode/TransitionView.cpp
index 99d1275fd9..76e18b6a30 100644
--- a/samplecode/TransitionView.cpp
+++ b/samplecode/TransitionView.cpp
@@ -146,7 +146,7 @@ protected:
fEnd[kPrevX] = -lr;
fEnd[kPrevY] = -ud;
fEnd[kNextX] = fEnd[kNextY] = 0;
- SkScalar blend[] = {0.8, 0.0, 0.0, 1.0};
+ SkScalar blend[] = {0.8f, 0.0f, 0.0f, 1.0f};
fInterp.setKeyFrame(0, SkTime::GetMSecs(), fBegin, blend);
fInterp.setKeyFrame(1, SkTime::GetMSecs()+500, fEnd, blend);
}