Index: src/core/SkBlitter.cpp |
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp |
index 7243f521613905cf164ecbff723d246ff5276917..41f37e659aee2c50394a25df29146a055d8e7b65 100644 |
--- a/src/core/SkBlitter.cpp |
+++ b/src/core/SkBlitter.cpp |
@@ -928,8 +928,9 @@ SkBlitter* SkBlitter::Choose(const SkBitmap& device, |
if (NULL == shader) { |
if (mode) { |
// xfermodes (and filters) require shaders for our current blitters |
- shader = SkNEW(SkColorShader); |
+ shader = SkNEW_ARGS(SkColorShader, (paint->getColor())); |
paint.writable()->setShader(shader)->unref(); |
+ paint.writable()->setAlpha(0xFF); |
} else if (cf) { |
// if no shader && no xfermode, we just apply the colorfilter to |
// our color and move on. |