diff options
author | Florin Malita <fmalita@chromium.org> | 2017-02-09 15:05:15 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-09 20:44:47 +0000 |
commit | 3d1a6bc5f3124dd5cd237ccc39ead26fe4b3355f (patch) | |
tree | 9a6ad5636a2aa941dbf9f143119cb53a3eb34bc0 /fuzz/FuzzGradients.cpp | |
parent | 4b698cb6c09467e74599d652b036b42c84099c95 (diff) |
[4fGradient] Relax interval checks for SkGradientShaderBase also
Similar to https://skia-review.googlesource.com/8270, treat intervals
as closed at both extremities in the 4f gradient fallback impl also.
BUG=skia:6212
Change-Id: I7f164868202ae6a0f76cbcdbcbf8e62db12a1bd4
Reviewed-on: https://skia-review.googlesource.com/8277
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'fuzz/FuzzGradients.cpp')
-rw-r--r-- | fuzz/FuzzGradients.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/FuzzGradients.cpp b/fuzz/FuzzGradients.cpp index 8539f5a914..88f3429d50 100644 --- a/fuzz/FuzzGradients.cpp +++ b/fuzz/FuzzGradients.cpp @@ -75,7 +75,7 @@ static void logLinearGradient(const SkPoint pts[2], } SkDebugf("--- fuzzLinearGradient ---\n"); - SkDebugf(" pts:\t\t[ (%f %f) (%f %f) ]\n", + SkDebugf(" pts:\t\t[ (%.9g %.9g) (%.9g %.9g) ]\n", pts[0].x(), pts[0].y(), pts[1].x(), pts[1].y()); SkDebugf(" colors:\t[ "); for (auto color : colors) { |