Index: src/gpu/GrContext.cpp |
=================================================================== |
--- src/gpu/GrContext.cpp (revision 10144) |
+++ src/gpu/GrContext.cpp (working copy) |
@@ -115,6 +115,7 @@ |
fDrawState = SkNEW(GrDrawState); |
fGpu->setDrawState(fDrawState); |
+ this->setReuseScratchTextures(fGpu->caps()->reuseScratchTextures()); |
fTextureCache = SkNEW_ARGS(GrResourceCache, |
(MAX_TEXTURE_CACHE_COUNT, |