Index: src/gpu/SkGrPixelRef.cpp |
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp |
index 58f516a19c6d3ad370456fcb0ad8a24fcd23b182..3876f17411d8067a41f362ced42f245fc98760f0 100644 |
--- a/src/gpu/SkGrPixelRef.cpp |
+++ b/src/gpu/SkGrPixelRef.cpp |
@@ -76,6 +76,7 @@ static SkGrPixelRef* copy_to_new_texture_pixelref(GrTexture* texture, SkColorTyp |
} |
desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT); |
+ desc.fTextureStorageAllocator = texture->desc().fTextureStorageAllocator; |
GrTexture* dst = context->textureProvider()->createTexture(desc, false, nullptr, 0); |
if (nullptr == dst) { |