Remove ref in buffer alloc pool.
git-svn-id: http://skia.googlecode.com/svn/trunk@3290 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
5ffd5baeef
commit
f6fc404409
@ -47,7 +47,6 @@ GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu,
|
||||
GrGeometryBuffer* buffer = this->createBuffer(fMinBlockSize);
|
||||
if (NULL != buffer) {
|
||||
*fPreallocBuffers.append() = buffer;
|
||||
buffer->ref();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user