Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 973f4ba3041497ec60e89f325bcf4ecd1e2aee91..4003631c8a206e3a297f0064dea797aed3fa4a11 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -61,7 +61,7 @@ bool SkImage_Gpu::getROPixels(SkBitmap* dst) const { |
} |
bool SkImage_Gpu::isOpaque() const { |
- return GrPixelConfigIsOpaque(fTexture->config()); |
+ return GrPixelConfigIsOpaque(fTexture->config()) || fAlphaType == kOpaque_SkAlphaType; |
} |
static void apply_premul(const SkImageInfo& info, void* pixels, size_t rowBytes) { |