diff options
Diffstat (limited to 'src/shaders')
-rw-r--r-- | src/shaders/gradients/Sk4fGradientBase.cpp | 5 | ||||
-rw-r--r-- | src/shaders/gradients/Sk4fGradientBase.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/shaders/gradients/Sk4fGradientBase.cpp b/src/shaders/gradients/Sk4fGradientBase.cpp index cb0fcd0513..f5d5e7155e 100644 --- a/src/shaders/gradients/Sk4fGradientBase.cpp +++ b/src/shaders/gradients/Sk4fGradientBase.cpp @@ -288,11 +288,6 @@ GradientShaderBase4fContext::GradientShaderBase4fContext(const SkGradientShaderB const ContextRec& rec) : INHERITED(shader, rec) , fFlags(this->INHERITED::getFlags()) -#ifdef SK_SUPPORT_LEGACY_GRADIENT_DITHERING - , fDither(true) -#else - , fDither(rec.fPaint->isDither()) -#endif { SkASSERT(rec.fPreferredDstType == ContextRec::kPM4f_DstType); diff --git a/src/shaders/gradients/Sk4fGradientBase.h b/src/shaders/gradients/Sk4fGradientBase.h index 3e83d04c49..acba642fd7 100644 --- a/src/shaders/gradients/Sk4fGradientBase.h +++ b/src/shaders/gradients/Sk4fGradientBase.h @@ -73,7 +73,6 @@ protected: SkMatrix::MapXYProc fDstToPosProc; uint8_t fDstToPosClass; uint8_t fFlags; - bool fDither; bool fColorsArePremul; private: |