Index: src/gpu/SkGrPixelRef.cpp |
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp |
index e21d3b9d6ddd5e2d46863d15a6d5d7c73bd75d5c..f61d92e1863b1d58e4854023f59a7f54dfe1df6c 100644 |
--- a/src/gpu/SkGrPixelRef.cpp |
+++ b/src/gpu/SkGrPixelRef.cpp |
@@ -75,7 +75,7 @@ |
srcRect = *subset; |
} |
desc.fFlags = kRenderTarget_GrSurfaceFlag; |
- desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT, *context->caps()); |
+ desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT); |
desc.fTextureStorageAllocator = texture->desc().fTextureStorageAllocator; |
desc.fIsMipMapped = false; |