remove obsolete build flag SK_IGNORE_SETLINE_FIX

git-svn-id: http://skia.googlecode.com/svn/trunk@7819 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-02-22 14:02:58 +00:00
parent fc28bd5db4
commit e4646db4dc

View File

@ -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 {