diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-22 14:02:58 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-22 14:02:58 +0000 |
commit | e4646db4dc747b568e2b61cab300606d57cf645a (patch) | |
tree | 5365dd9f68fc743968207adcadb92caad77de42d /src/core | |
parent | fc28bd5db465dd98fb8d6295de90064a7170e6c5 (diff) |
remove obsolete build flag SK_IGNORE_SETLINE_FIX
git-svn-id: http://skia.googlecode.com/svn/trunk@7819 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkEdge.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/SkEdge.h b/src/core/SkEdge.h index a8ce2aff12..ea7c84f78d 100644 --- a/src/core/SkEdge.h +++ b/src/core/SkEdge.h @@ -14,13 +14,8 @@ #include "SkFDot6.h" #include "SkMath.h" -#ifdef SK_IGNORE_SETLINE_FIX - #define SkEdge_Compute_DY(top, y0) ((32 - (y0)) & 63) -#else - // This is correct, as it favors the lower-pixel when y0 is on a 1/2 pixel - // boundary, returning 64 instead of the old code, which returns 0. - #define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0)) -#endif +// This correctly favors the lower-pixel when y0 is on a 1/2 pixel boundary +#define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0)) struct SkEdge { enum Type { |