diff options
author | 2014-02-19 15:50:25 +0000 | |
---|---|---|
committer | 2014-02-19 15:50:25 +0000 | |
commit | 6e7ddee374fa011c637baca69caac97938e8406c (patch) | |
tree | 80e09b560d86d593ba290bf775e92f5101dc3623 /src/gpu/effects/GrRRectEffect.cpp | |
parent | f679e2b90dbd23dd3b0a369a8be77965a07eb698 (diff) |
Add f suffix to 0.5 to fix mac 10.6 warning
BUG=skia:2195
Review URL: https://codereview.chromium.org/172233004
git-svn-id: http://skia.googlecode.com/svn/trunk@13500 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects/GrRRectEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrRRectEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp index a2a6af7924..3923a6f36b 100644 --- a/src/gpu/effects/GrRRectEffect.cpp +++ b/src/gpu/effects/GrRRectEffect.cpp @@ -15,7 +15,7 @@ // This effect only supports circular corner rrects where all corners have the same radius // which must be <= kRadiusMin. -static const SkScalar kRadiusMin = 0.5; +static const SkScalar kRadiusMin = 0.5f; ////////////////////////////////////////////////////////////////////////////// class GrGLRRectEffect : public GrGLEffect { |