Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 2174b8569f8860ad8b7f52d738288f51ca7abb4f..8844f1ac838a887ce2a437b49e55cd7f6abc70e0 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -423,7 +423,8 @@ bool GrContext::readSurfacePixels(GrSurface* src, |
} |
SkAutoTUnref<GrTexture> temp; |
if (tempDrawInfo.fUseExactScratch) { |
- temp.reset(this->textureProvider()->createTexture(tempDrawInfo.fTempSurfaceDesc, true)); |
+ temp.reset(this->textureProvider()->createTexture(tempDrawInfo.fTempSurfaceDesc, |
+ SkBudgeted::kYes)); |
} else { |
temp.reset(this->textureProvider()->createApproxTexture(tempDrawInfo.fTempSurfaceDesc)); |
} |