diff options
author | 2013-01-28 20:43:09 +0000 | |
---|---|---|
committer | 2013-01-28 20:43:09 +0000 | |
commit | b941bb346549c51c3d1c1578b4f6bc7f4d8436a8 (patch) | |
tree | b67aaf404f26520563ef54be070d36ca252e166b /src | |
parent | 08085f808b808bfb14fcb247bb8cb1a5e8d43dcc (diff) |
REBASELINE: enable setline fix for scan converter, with SK_IGNORE_SETLINE_FIX build guard.
Review URL: https://codereview.appspot.com/7225056
git-svn-id: http://skia.googlecode.com/svn/trunk@7425 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkEdge.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkEdge.h b/src/core/SkEdge.h index c36ba246ce..a8ce2aff12 100644 --- a/src/core/SkEdge.h +++ b/src/core/SkEdge.h @@ -14,8 +14,7 @@ #include "SkFDot6.h" #include "SkMath.h" -//#ifdef SK_IGNORE_SETLINE_FIX -#if 1 +#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 |