diff options
Diffstat (limited to 'samplecode/SamplePathEffects.cpp')
-rw-r--r-- | samplecode/SamplePathEffects.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SamplePathEffects.cpp b/samplecode/SamplePathEffects.cpp index c974850e3f..1036db611a 100644 --- a/samplecode/SamplePathEffects.cpp +++ b/samplecode/SamplePathEffects.cpp @@ -75,7 +75,6 @@ static SkPathEffect* make_warp_pe() /////////////////////////////////////////////////////////// #include "SkColorFilter.h" -#include "SkPorterDuff.h" #include "SkLayerRasterizer.h" class testrast : public SkLayerRasterizer { @@ -91,7 +90,7 @@ public: this->addLayer(paint); paint.setStrokeWidth(SK_Scalar1*1); - paint.setPorterDuffXfermode(SkPorterDuff::kClear_Mode); + paint.setXfermode(SkXfermode::kClear_Mode); this->addLayer(paint); #else paint.setAlpha(0x66); |