diff options
Diffstat (limited to 'dm')
-rw-r--r-- | dm/DMSrcSink.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp index 09c88af320..cd4f111627 100644 --- a/dm/DMSrcSink.cpp +++ b/dm/DMSrcSink.cpp @@ -1881,7 +1881,8 @@ Error GPUSink::onDraw(const Src& src, SkBitmap* dst, SkWStream*, SkString* log, canvas->getGrContext()->contextPriv().dumpGpuStats(log); #endif } - if (info.colorType() == kRGB_565_SkColorType || info.colorType() == kARGB_4444_SkColorType) { + if (info.colorType() == kRGB_565_SkColorType || info.colorType() == kARGB_4444_SkColorType || + info.colorType() == kRGB_888x_SkColorType) { // We don't currently support readbacks into these formats on the GPU backend. Convert to // 32 bit. info = SkImageInfo::Make(size.width(), size.height(), kRGBA_8888_SkColorType, |