Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index 1f01e1a9836e48efb184bb43faa19f42d78b252e..e1aa72c83d260456e6f32993ac5ca4687fef2c5d 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -281,7 +281,7 @@ SkBitmap wrap_texture(GrTexture* texture) { |
SkASSERT(texture); |
SkBitmap result; |
- result.setInfo(texture->surfacePriv().info()); |
+ result.setInfo(texture->surfacePriv().info(kPremul_SkAlphaType)); |
result.setPixelRef(SkNEW_ARGS(SkGrPixelRef, (result.info(), texture)))->unref(); |
return result; |
} |