commit | 9fbcad0f00d7098574cf3394a812c9d845c9cc5b | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun Sep 09 14:44:15 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun Sep 09 14:44:15 2012 +0000 |
tree | 7cc1373d7288d7ba373caf108745e9aa311fc838 | |
parent | 3590a248bb110a5346b6e2cbdda5cc3345cbe01b [diff] [blame] |
Removed old resource locking system https://codereview.appspot.com/6488098/ git-svn-id: http://skia.googlecode.com/svn/trunk@5453 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp index bb36d32..e770ef0 100644 --- a/src/gpu/SkGrPixelRef.cpp +++ b/src/gpu/SkGrPixelRef.cpp
@@ -110,7 +110,7 @@ GrContext* context = fSurface->getContext(); GrTexture* texture = fSurface->asTexture(); if (NULL != context && NULL != texture) { - context->unlockTexture(texture); + context->unlockScratchTexture(texture); } } GrSafeUnref(fSurface);