| Index: src/gpu/GrGpu.cpp
|
| diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
|
| index 6b815b69713cd6eba8327283a763c3aad3b074d8..bc11b4b9c6578b4f571b04c2897cbb4e2200fd3a 100644
|
| --- a/src/gpu/GrGpu.cpp
|
| +++ b/src/gpu/GrGpu.cpp
|
| @@ -235,10 +235,9 @@
|
| return this->onWrapBackendTextureAsRenderTarget(desc);
|
| }
|
|
|
| -GrBuffer* GrGpu::createBuffer(size_t size, GrBufferType intendedType,
|
| - GrAccessPattern accessPattern) {
|
| - this->handleDirtyContext();
|
| - GrBuffer* buffer = this->onCreateBuffer(size, intendedType, accessPattern);
|
| +GrBuffer* GrGpu::createBuffer(GrBufferType type, size_t size, GrAccessPattern accessPattern) {
|
| + this->handleDirtyContext();
|
| + GrBuffer* buffer = this->onCreateBuffer(type, size, accessPattern);
|
| if (!this->caps()->reuseScratchBuffers()) {
|
| buffer->resourcePriv().removeScratchKey();
|
| }
|
|
|