| Index: src/core/SkDistanceFieldGen.h
|
| diff --git a/src/core/SkDistanceFieldGen.h b/src/core/SkDistanceFieldGen.h
|
| index 4a09ace107f16c241fdaeddbd084e5a89f952126..4122b6b620454eac55e29918e15c008f87d74d71 100644
|
| --- a/src/core/SkDistanceFieldGen.h
|
| +++ b/src/core/SkDistanceFieldGen.h
|
| @@ -20,7 +20,7 @@
|
|
|
| // for the fragment shader
|
| // The distance field is constructed as unsigned char values, so that the zero value is at 128,
|
| -// and the range is [-4, 4 - 1/255). Hence our multiplier is 8 - 1/32 and zero threshold is 128/255.
|
| +// and the range is [-4, 4 * (1 - 1/128) ). Hence our multiplier is 8 - 1/32 and zero threshold is 128/255.
|
| #define SK_DistanceFieldMultiplier "7.96875"
|
| #define SK_DistanceFieldThreshold "0.50196078431"
|
|
|
|
|