Index: src/gpu/effects/GrTextureStripAtlas.cpp |
diff --git a/src/gpu/effects/GrTextureStripAtlas.cpp b/src/gpu/effects/GrTextureStripAtlas.cpp |
index 1ac3dab2aaded6a33f49d28ec04f2d0a25443929..1543a2e9dbed65129e21a2b78083f1c3378b3ad6 100644 |
--- a/src/gpu/effects/GrTextureStripAtlas.cpp |
+++ b/src/gpu/effects/GrTextureStripAtlas.cpp |
@@ -158,7 +158,7 @@ int GrTextureStripAtlas::lockRow(const SkBitmap& data) { |
// that is not currently in use |
fTexture->writePixels(0, rowNumber * fDesc.fRowHeight, |
fDesc.fWidth, fDesc.fRowHeight, |
- SkImageInfo2GrPixelConfig(data.info()), |
+ SkImageInfo2GrPixelConfig(data.info(), *this->getContext()->caps()), |
data.getPixels(), |
data.rowBytes(), |
GrContext::kDontFlush_PixelOpsFlag); |