Index: src/core/SkBlitter.cpp |
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp |
index 45219c50cb1ad0a3ded7263d01c905f196033df4..a3dbe5e80fdeb1901f87f44769ec1037c807d04c 100644 |
--- a/src/core/SkBlitter.cpp |
+++ b/src/core/SkBlitter.cpp |
@@ -127,6 +127,10 @@ static uint8_t generate_right_mask(int maskBitCount) { |
void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { |
SkASSERT(mask.fBounds.contains(clip)); |
+ if (mask.fFormat == SkMask::kLCD16_Format) { |
+ return; // needs to be handled by subclass |
+ } |
+ |
if (mask.fFormat == SkMask::kBW_Format) { |
int cx = clip.fLeft; |
int cy = clip.fTop; |