Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 7ce6831b63cd1cd66595f90dd657426ca91c45bb..c89c08de6e3d11cb20a9660f92f4f6a66b254383 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -224,8 +224,7 @@ SkImage* SkImage::NewFromYUVTexturesCopy(GrContext* ctx , SkYUVColorSpace colorS |
dstDesc.fConfig = kRGBA_8888_GrPixelConfig; |
dstDesc.fSampleCnt = 0; |
- SkAutoTUnref<GrTexture> dst(ctx->textureProvider()->refScratchTexture( |
- dstDesc, GrTextureProvider::kExact_ScratchTexMatch)); |
+ SkAutoTUnref<GrTexture> dst(ctx->textureProvider()->createTexture(dstDesc, true)); |
if (!dst) { |
return NULL; |
} |