diff options
author | 2012-09-09 14:44:15 +0000 | |
---|---|---|
committer | 2012-09-09 14:44:15 +0000 | |
commit | 9fbcad0f00d7098574cf3394a812c9d845c9cc5b (patch) | |
tree | 7cc1373d7288d7ba373caf108745e9aa311fc838 /src/gpu/GrGpu.cpp | |
parent | 3590a248bb110a5346b6e2cbdda5cc3345cbe01b (diff) |
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
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r-- | src/gpu/GrGpu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index fae9d992f1..514d176afc 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp @@ -144,9 +144,9 @@ GrTexture* GrGpu::createTexture(const GrTextureDesc& desc, bool GrGpu::attachStencilBufferToRenderTarget(GrRenderTarget* rt) { GrAssert(NULL == rt->getStencilBuffer()); GrStencilBuffer* sb = - this->getContext()->findAndLockStencilBuffer(rt->width(), - rt->height(), - rt->numSamples()); + this->getContext()->findStencilBuffer(rt->width(), + rt->height(), + rt->numSamples()); if (NULL != sb) { rt->setStencilBuffer(sb); bool attached = this->attachStencilBufferToRenderTarget(sb, rt); |