diff options
author | bsalomon <bsalomon@google.com> | 2015-08-19 06:12:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-19 06:12:36 -0700 |
commit | f3bf892d71e3d16d95e035e06a6ad2fee16479c9 (patch) | |
tree | 8812f6f3575116c99784c7f80834d723d09ba217 /tools/sk_tool_utils.cpp | |
parent | d3d07245e29504dbffa0083e84ace5bab85853d4 (diff) |
Fix VS 2015 build
TBR=robertphillips@google.com
Review URL: https://codereview.chromium.org/1297283003
Diffstat (limited to 'tools/sk_tool_utils.cpp')
-rw-r--r-- | tools/sk_tool_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sk_tool_utils.cpp b/tools/sk_tool_utils.cpp index 6e76fc14c2..8d1eb44b92 100644 --- a/tools/sk_tool_utils.cpp +++ b/tools/sk_tool_utils.cpp @@ -234,7 +234,7 @@ void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst) { if (tmp >= 1.0f) { norm.set(0.0f, 0.0f, 1.0f); } else { - norm.fZ = sqrt(1.0f - tmp); + norm.fZ = sqrtf(1.0f - tmp); } norm_to_rgb(bm, x, y, norm); |