Index: tools/sk_tool_utils.cpp |
diff --git a/tools/sk_tool_utils.cpp b/tools/sk_tool_utils.cpp |
index 6e76fc14c29d64452f4008ed0210a4c1be44658b..8d1eb44b9262c1bc06e2cd5c0a645f4b829aa2b3 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); |