aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-14 12:18:26 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-14 12:18:26 +0000
commitf105b109264f71dfb0bfd9977e6a5dd0a5a12f57 (patch)
tree761b75e87ae4ccdd684de304c8e3e65f72c14b3d /include
parent18c464b460d062142ab7198724431a4d2ad7070d (diff)
Made clip mask cache use Scratch Texture system
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrContext.h1
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) {