diff options
author | 2013-02-22 13:03:29 +0000 | |
---|---|---|
committer | 2013-02-22 13:03:29 +0000 | |
commit | fc28bd5db465dd98fb8d6295de90064a7170e6c5 (patch) | |
tree | 8564eeea77d0241feb26a3a3876fdedfcf332f4f /src/effects/gradients/SkLinearGradient.cpp | |
parent | bcab265e7a54816b2ed748dfb0a36d99bab7d079 (diff) |
remove obsolete build flag SK_IGNORE_GRADIENT_DITHER_FIX
git-svn-id: http://skia.googlecode.com/svn/trunk@7818 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects/gradients/SkLinearGradient.cpp')
-rw-r--r-- | src/effects/gradients/SkLinearGradient.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp index adc60f8024..3f8d7cccba 100644 --- a/src/effects/gradients/SkLinearGradient.cpp +++ b/src/effects/gradients/SkLinearGradient.cpp @@ -94,11 +94,7 @@ bool SkLinearGradient::setContext(const SkBitmap& device, const SkPaint& paint, unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; if ((fDstToIndex.getType() & ~mask) == 0) { -#ifdef SK_IGNORE_GRADIENT_DITHER_FIX - fFlags |= SkShader::kConstInY32_Flag; -#else // when we dither, we are (usually) not const-in-Y -#endif if ((fFlags & SkShader::kHasSpan16_Flag) && !paint.isDither()) { // only claim this if we do have a 16bit mode (i.e. none of our // colors have alpha), and if we are not dithering (which obviously |