diff options
Diffstat (limited to 'samplecode/SampleDither.cpp')
-rw-r--r-- | samplecode/SampleDither.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleDither.cpp b/samplecode/SampleDither.cpp index 2468df7693..38d67ad7cf 100644 --- a/samplecode/SampleDither.cpp +++ b/samplecode/SampleDither.cpp @@ -55,7 +55,7 @@ static void draw_sweep(SkCanvas* c, int width, int height, SkScalar angle) { SkScalar y = r.centerY(); SkScalar radius = r.width() / 2; SkScalar thickness = p.getStrokeWidth(); - SkScalar sweep = SkFloatToScalar(360.0f); + SkScalar sweep = 360.0f; SkPath path; path.moveTo(x + radius, y); |