diff options
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 513b5bbdc9..90ab4bbbd9 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -865,7 +865,7 @@ static bool drawWithGPUMaskFilter(GrContext* context, const SkPath& path, sigma *= 0.5f; } scaleRect(&srcRect, 1.0f / scaleFactor); - int halfWidth = static_cast<int>(sigma * 3.0f); + int halfWidth = static_cast<int>(ceilf(sigma * 3.0f)); int kernelWidth = halfWidth * 2 + 1; SkIRect srcIRect; |