diff options
Diffstat (limited to 'gpu/effects/GrTextureStripAtlas.cpp')
-rw-r--r-- | gpu/effects/GrTextureStripAtlas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/effects/GrTextureStripAtlas.cpp b/gpu/effects/GrTextureStripAtlas.cpp index 877215ec..0aa9dc35 100644 --- a/gpu/effects/GrTextureStripAtlas.cpp +++ b/gpu/effects/GrTextureStripAtlas.cpp @@ -158,7 +158,7 @@ int GrTextureStripAtlas::lockRow(const SkBitmap& data) { fDesc.fContext->writeTexturePixels(fTexture, 0, rowNumber * fDesc.fRowHeight, fDesc.fWidth, fDesc.fRowHeight, - SkBitmapConfig2GrPixelConfig(data.config()), + SkImageInfo2GrPixelConfig(data.info()), data.getPixels(), data.rowBytes(), GrContext::kDontFlush_PixelOpsFlag); |