From e4646db4dc747b568e2b61cab300606d57cf645a Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 22 Feb 2013 14:02:58 +0000 Subject: [PATCH] remove obsolete build flag SK_IGNORE_SETLINE_FIX git-svn-id: http://skia.googlecode.com/svn/trunk@7819 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkEdge.h | 9 ++------- 1 file 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 {