diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-14 12:18:26 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-14 12:18:26 +0000 |
commit | f105b109264f71dfb0bfd9977e6a5dd0a5a12f57 (patch) | |
tree | 761b75e87ae4ccdd684de304c8e3e65f72c14b3d /include | |
parent | 18c464b460d062142ab7198724431a4d2ad7070d (diff) | |
download | skia-f105b109264f71dfb0bfd9977e6a5dd0a5a12f57.tar.gz |
Made clip mask cache use Scratch Texture system
http://codereview.appspot.com/6210044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3920 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index b26d2b3aee..bb661c90b7 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -853,6 +853,7 @@ public: GrContext::kApprox_ScratchTexMatch) { if (NULL != fContext) { fContext->unlockTexture(fEntry); + fEntry.reset(); } fContext = context; if (NULL != fContext) { |