REBASELINE: enable setline fix for scan converter, with SK_IGNORE_SETLINE_FIX build...
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 28 Jan 2013 20:43:09 +0000 (20:43 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 28 Jan 2013 20:43:09 +0000 (20:43 +0000)
Review URL: https://codereview.appspot.com/7225056

git-svn-id: http://skia.googlecode.com/svn/trunk@7425 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkEdge.h

index c36ba24..a8ce2af 100644 (file)
@@ -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