Index: src/gpu/SkGr.cpp |
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp |
index c053e8b81102e796ceb4b3442c85269021730d3c..94e4c8c35dd4b2e488a16730b584ae8116b15881 100644 |
--- a/src/gpu/SkGr.cpp |
+++ b/src/gpu/SkGr.cpp |
@@ -155,7 +155,7 @@ static GrTexture* sk_gr_create_bitmap_texture(GrContext* ctx, |
return result; |
} |
} else { |
- origBitmap.copyTo(&tmpBitmap, SkBitmap::kARGB_8888_Config); |
+ origBitmap.copyTo(&tmpBitmap, kPMColor_SkColorType); |
// now bitmap points to our temp, which has been promoted to 32bits |
bitmap = &tmpBitmap; |
desc.fConfig = SkBitmapConfig2GrPixelConfig(bitmap->config()); |