Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index a37a6ffc9f9c61c3a5acd5f146716e160c2a9428..52e063d367a9a9f6ac4ff4436d8db010138a1a03 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -352,7 +352,7 @@ public: |
bool doGamma = (fActualColorBits == 30) && SkImageInfoIsGammaCorrect(win->info()); |
SkPaint gammaPaint; |
- gammaPaint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ gammaPaint.setBlendMode(SkBlendMode::kSrc); |
if (doGamma) { |
gammaPaint.setColorFilter(SkGammaColorFilter::Make(1.0f / 2.2f)); |
} |